From 508f5f32e4b9240580fe23c506ecb5f9f5b3f331 Mon Sep 17 00:00:00 2001 From: Robin Cerny Date: Wed, 26 Feb 2025 17:46:28 +0100 Subject: [PATCH] fixed wrong modulo for the display --- ROFLS_Arena_Controller/ROFLS_Arena_Controller.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ROFLS_Arena_Controller/ROFLS_Arena_Controller.ino b/ROFLS_Arena_Controller/ROFLS_Arena_Controller.ino index a4f29ba..3f7989b 100644 --- a/ROFLS_Arena_Controller/ROFLS_Arena_Controller.ino +++ b/ROFLS_Arena_Controller/ROFLS_Arena_Controller.ino @@ -304,9 +304,9 @@ void loop() { if (!FightCountDown[0].isRunning() && countdownPAUSED == false) { sendTimeDisplay(countdownTIME, 0, 0, XDAS, 0, CLOCK_LED_BRIGHTNESS); } else { - sendTimeDisplay((FightCountDown[0].remaining()/60%10), (FightCountDown[0].remaining()%60), 0, XDAS, 0, CLOCK_LED_BRIGHTNESS); + sendTimeDisplay((FightCountDown[0].remaining()/60%60), (FightCountDown[0].remaining()%60), 0, XDAS, 0, CLOCK_LED_BRIGHTNESS); } } else if (switchRUMBLE.on()) { - sendTimeDisplay((rumbleTIME.elapsed()/60%10), (rumbleTIME.elapsed()%60), 0, XDAS, XDAS, CLOCK_LED_BRIGHTNESS); + sendTimeDisplay((rumbleTIME.elapsed()/60%60), (rumbleTIME.elapsed()%60), 0, XDAS, XDAS, CLOCK_LED_BRIGHTNESS); } }