X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fwdt.h;h=faba48d9c6a36c16f832b351ff3aa4e66452483f;hb=e8b0472be10fba4ca6baa62d8d483db90e28c06e;hp=b6db12475a0861d251bf60c4b662f299653c7ae0;hpb=37efb5bdc0504ab6df2e8db0635c9c6f7477e23e;p=bertos.git diff --git a/bertos/drv/wdt.h b/bertos/drv/wdt.h index b6db1247..faba48d9 100644 --- a/bertos/drv/wdt.h +++ b/bertos/drv/wdt.h @@ -30,7 +30,6 @@ * * --> * - * \version $Id$ * * \author Bernie Innocenti * @@ -38,6 +37,7 @@ * * $WIZ$ module_name = "wdt" * $WIZ$ module_configuration = "bertos/cfg/cfg_wdt.h" + * $WIZ$ module_supports = "avr" */ #ifndef DRV_WDT_H @@ -76,11 +76,7 @@ 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