*
* -->
*
- * \version $Id$
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
* \brief Watchdog module, supplies a simple API to manage wdt on supported target.
*
- * $WIZARD_MODULE = {
- * "name" : "wdt",
- * "depends" : [],
- * "configuration" : "bertos/cfg/cfg_wdt.h"
- * }
+ * $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