]> rtime.felk.cvut.cz Git - CanFestival-3.git/blobdiff - drivers/timers_xeno/timers_xeno.c
fix typo line 135
[CanFestival-3.git] / 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();