mirror of
https://github.com/thelastoutpostworkshop/ESP32ManyRoundScreenTest.git
synced 2025-09-26 23:09:22 +08:00
FPS Calculation
This commit is contained in:
parent
f00dd413fa
commit
a89fe7ba3e
@ -106,7 +106,7 @@ void playGif(AnimatedGIF *gif, int screenIndex)
|
||||
}
|
||||
else
|
||||
{
|
||||
Serial.printf("Screen 0 FPS=%f\n", (1000.0f / millis() - lastFrameSpeed));
|
||||
Serial.printf("Screen 0 FPS=%f\n", 1000.0f / (millis() - lastFrameSpeed));
|
||||
lastFrameSpeed = millis();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user