legacy: Move TICKS_UNLIMITED -> K_FOREVER
Change-Id: Ic1e73959a3444bc6e015e341899c75b1ef850189 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b52a5450b0
commit
6b65dcefd2
4 changed files with 4 additions and 4 deletions
|
@ -230,7 +230,7 @@ void _timer_idle_enter(int32_t ticks)
|
|||
{
|
||||
uint32_t status;
|
||||
|
||||
if ((ticks == TICKS_UNLIMITED) || (ticks > max_system_ticks)) {
|
||||
if ((ticks == K_FOREVER) || (ticks > max_system_ticks)) {
|
||||
/*
|
||||
* The number of cycles until the timer must fire next might not fit
|
||||
* in the 32-bit counter register. To work around this, program
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue