From a89fe7ba3e4c4d11ddfd142d32de4448b32b2949 Mon Sep 17 00:00:00 2001 From: charles Date: Fri, 18 Aug 2023 17:36:30 -0400 Subject: [PATCH] FPS Calculation --- ESP32ManyRoundScreenTest.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP32ManyRoundScreenTest.ino b/ESP32ManyRoundScreenTest.ino index f577c8f..1052246 100644 --- a/ESP32ManyRoundScreenTest.ino +++ b/ESP32ManyRoundScreenTest.ino @@ -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(); } }