drivers/timers_xeno/timers_xeno.c
changeset 457 ee7f0092bcb1
parent 454 bc000083297a
child 459 ddd1a31b7960
--- 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();