legacy: Move TICKS_UNLIMITED -> K_FOREVER

Change-Id: Ic1e73959a3444bc6e015e341899c75b1ef850189
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2017-01-17 06:30:03 -05:00 committed by Anas Nashif
commit 6b65dcefd2
4 changed files with 4 additions and 4 deletions

View file

@ -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