Skip to content

Commit

Permalink
Update SimpleTimer.h
Browse files Browse the repository at this point in the history
fix: comparison between signed and unsigned integer in RAK11300 SimpleTimer
  • Loading branch information
robsonos authored Jul 5, 2024
1 parent 8554830 commit 57d8b44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/boards/mcu/rak11300/SimpleTimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -129,4 +129,4 @@ class SimpleTimer
int numTimers;
};

#endif
#endif

0 comments on commit 57d8b44

Please sign in to comment.