Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / mware / observer.c
index a3acf98c11144b51c03534a6399417a07d288ffe..6049b5601b254f917c1779026bb5f42c191fa935 100644 (file)
@@ -32,8 +32,7 @@
  *
  * \brief Simple notifier for the observer/subject pattern (implementation)
  *
- * \version $Id$
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
 #include "observer.h"
@@ -63,7 +62,7 @@ void observer_Unsubscribe(UNUSED_ARG(Subject *,subject), Observer *observer)
 void observer_notify(Subject *subject, int event_id, void *param)
 {
        Observer *observer;
-       cpuflags_t irqstate;
+       cpu_flags_t irqstate;
        IRQ_SAVE_DISABLE(irqstate);
 
        /*