Clean up the code. Manage the reconnection. Use the lwip error, insted
[bertos.git] / bertos / drv / wdt.h
index bafb8fb8cc4495dbef19ba74f66c65f9016a0816..faba48d9c6a36c16f832b351ff3aa4e66452483f 100644 (file)
@@ -30,7 +30,6 @@
  *
  * -->
  *
- * \version $Id$
  *
  * \author Bernie Innocenti <bernie@codewiz.org>
  *
        INLINE void wdt_reset(void)
        {
        #if CONFIG_WATCHDOG
-               #if OS_QT
-                       // Let Qt handle events
-                       ASSERT(qApp);
-                       qApp->processEvents();
-               #elif OS_POSIX
+               #if OS_POSIX
                        static struct timeval tv = { 0, 0 };
                        select(0, NULL, NULL, NULL, &tv);
                #endif