Skip to content

Commit a8eee56

Browse files
authored
Fix timer condition
1 parent 407800b commit a8eee56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/osal/osal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ os_timer_t * os_timer_create (
240240
bool oneshot)
241241
{
242242

243-
if (timer_cnt > TOTAL_TIMERS) {
243+
if (timer_cnt >= TOTAL_TIMERS) {
244244
return NULL;
245245
}
246246

0 commit comments

Comments
 (0)