/*#*
*#* $Log$
+ *#* Revision 1.38 2007/06/21 17:07:21 batt
+ *#* Remove CONFIG_WATCHDOG stuff: watchdog macros expand to nothing when wdt is active.
+ *#*
*#* Revision 1.37 2007/06/07 14:35:12 batt
*#* Merge from project_ks.
*#*
#include "ser.h"
-#if CONFIG_WATCHDOG
- #include "wdt.h"
-#endif
+#include "wdt.h"
#include "ser_p.h"
#include <mware/formatwr.h>
/* Attende finche' il buffer e' pieno... */
do
{
-#if CONFIG_WATCHDOG
wdt_reset();
-#endif
#if CONFIG_KERNEL && CONFIG_KERN_SCHED
/* Give up timeslice to other processes. */
proc_switch();
/* Wait while buffer is empty */
do
{
-#if CONFIG_WATCHDOG
wdt_reset();
-#endif
#if CONFIG_KERNEL && CONFIG_KERN_SCHED
/* Give up timeslice to other processes. */
proc_switch();
/* Give up timeslice to other processes. */
proc_switch();
#endif
- #if CONFIG_WATCHDOG
wdt_reset();
- #endif
}
}