mirror of
https://github.com/thelastoutpostworkshop/ESP32ManyRoundScreenTest.git
synced 2025-11-04 14:49:41 +08:00
FPS Calculation
This commit is contained in:
parent
f00dd413fa
commit
a89fe7ba3e
@ -106,7 +106,7 @@ void playGif(AnimatedGIF *gif, int screenIndex)
|
|||||||
}
|
}
|
||||||
else
|
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();
|
lastFrameSpeed = millis();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user