From 57d8b4407fe149adb2705dd67e24e6a0541d669e Mon Sep 17 00:00:00 2001 From: Robson Oliveira dos Santos Date: Fri, 5 Jul 2024 11:19:55 +0930 Subject: [PATCH] Update SimpleTimer.h fix: comparison between signed and unsigned integer in RAK11300 SimpleTimer --- src/boards/mcu/rak11300/SimpleTimer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boards/mcu/rak11300/SimpleTimer.h b/src/boards/mcu/rak11300/SimpleTimer.h index e5def9a..65cb6bc 100644 --- a/src/boards/mcu/rak11300/SimpleTimer.h +++ b/src/boards/mcu/rak11300/SimpleTimer.h @@ -111,7 +111,7 @@ class SimpleTimer volatile timer_callback callbacks[MAX_TIMERS]; // delay values - volatile long delays[MAX_TIMERS]; + volatile unsigned long delays[MAX_TIMERS]; // number of runs to be executed for each timer volatile int maxNumRuns[MAX_TIMERS]; @@ -129,4 +129,4 @@ class SimpleTimer int numTimers; }; -#endif \ No newline at end of file +#endif