The 6532 RIOT timer should keep spinning after a timeout (regression introduced in 0.126u2).

This commit is contained in:
Wilbert Pol 2009-07-22 19:22:13 +00:00
parent 52def314ff
commit 6e6098ed15

View File

@ -182,11 +182,10 @@ static TIMER_CALLBACK( timer_end_callback )
update_irqstate(device);
}
/* if we finished finishing, switch to the idle state */
/* if we finished finishing, keep spinning */
else if (riot->timerstate == TIMER_FINISHING)
{
riot->timerstate = TIMER_IDLE;
timer_adjust_oneshot(riot->timer, attotime_never, 0);
timer_adjust_oneshot(riot->timer, ticks_to_attotime(256, device->clock), 0);
}
}