diff options
Diffstat (limited to 'src/utils/timer.cpp')
-rw-r--r-- | src/utils/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/timer.cpp b/src/utils/timer.cpp index fd79369bf..b047c2882 100644 --- a/src/utils/timer.cpp +++ b/src/utils/timer.cpp @@ -66,7 +66,7 @@ static uint32_t nextSecond(uint32_t interval, void *param A_UNUSED); */ static uint32_t nextTick(uint32_t interval, void *param A_UNUSED) { - tick_time++; + tick_time = tick_time + 1; if (tick_time == MAX_TICK_VALUE) tick_time = 0; return interval; |