fix typo line 135
authorgreg
Tue, 06 May 2008 09:11:41 +0200
changeset 457 ee7f0092bcb1
parent 456 67e29972e242
child 458 a3906286b09b
fix typo line 135
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();