Update benchmark projects.
[bertos.git] / bertos / drv / wdt.h
index 2e2a4c818f8dcee1e7a53e07d70e07d00bb357f3..faba48d9c6a36c16f832b351ff3aa4e66452483f 100644 (file)
  *
  * -->
  *
- * \version $Id$
  *
  * \author Bernie Innocenti <bernie@codewiz.org>
  *
- * \brief Watchdog interface
- * $WIZARD_MODULE = {
- * "name" : "wdt",
- * "depends" : [],
- * "configuration" : "bertos/cfg/cfg_wdt.h"
- * }
+ * \brief Watchdog module, supplies a simple API to manage wdt on supported target.
+ *
+ * $WIZ$ module_name = "wdt"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_wdt.h"
+ * $WIZ$ module_supports = "avr"
  */
 
 #ifndef DRV_WDT_H
        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