diff -r 67e29972e242 -r ee7f0092bcb1 drivers/timers_xeno/timers_xeno.c --- a/drivers/timers_xeno/timers_xeno.c Mon May 05 11:27:09 2008 +0200 +++ b/drivers/timers_xeno/timers_xeno.c Tue May 06 09:11:41 2008 +0200 @@ -132,7 +132,7 @@ &timer_set, &condition_mutex, (real_alarm - current_time)); /* else alarm consider expired */ - if(ret = -ETIMEDOUT){ + if(ret == -ETIMEDOUT){ last_occured_alarm = real_alarm; rt_mutex_release(&condition_mutex); EnterMutex();