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