]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
fix typo line 135
authorgreg <greg>
Tue, 6 May 2008 07:11:41 +0000 (07:11 +0000)
committergreg <greg>
Tue, 6 May 2008 07:11:41 +0000 (07:11 +0000)
drivers/timers_xeno/timers_xeno.c

index a695ff5f571037f06c59b5383ef1eb79ae9f5051..8abb44b1777292465bc74524e0520dbd7a8d2eca 100644 (file)
@@ -132,7 +132,7 @@ void timerloop_task_proc(void *arg)
                                &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();