X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fwdt.h;h=89752bf7ac6a04625d390d64cd9cc3987ab1058b;hb=d76509a30e7b0ff2440538e2a06210dc64da9214;hp=bafb8fb8cc4495dbef19ba74f66c65f9016a0816;hpb=099bcf0e01a4ad7b200e971b463be9750e6c0657;p=bertos.git diff --git a/bertos/drv/wdt.h b/bertos/drv/wdt.h index bafb8fb8..89752bf7 100644 --- a/bertos/drv/wdt.h +++ b/bertos/drv/wdt.h @@ -77,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