Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f4b6628e authored by Travis Geiselbrecht's avatar Travis Geiselbrecht
Browse files

BootAnimation: fix bug to delay the appropriate amount of time per frame

Change-Id: I300b67a97a9a685cec59df12d8d605c2b0b49180
parent 5c847203
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -509,7 +509,7 @@ bool BootAnimation::movie()
                nsecs_t now = systemTime();
                nsecs_t delay = frameDuration - (now - lastFrame);
                lastFrame = now;
                long wait = ns2us(frameDuration);
                long wait = ns2us(delay);
                if (wait > 0)
                    usleep(wait);
            }