X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Fwdt.h;h=faba48d9c6a36c16f832b351ff3aa4e66452483f;hb=23f95752ffe03a5f0c262b1f896211aedb185dda;hp=bafb8fb8cc4495dbef19ba74f66c65f9016a0816;hpb=099bcf0e01a4ad7b200e971b463be9750e6c0657;p=bertos.git diff --git a/bertos/drv/wdt.h b/bertos/drv/wdt.h index bafb8fb8..faba48d9 100644 --- a/bertos/drv/wdt.h +++ b/bertos/drv/wdt.h @@ -30,7 +30,6 @@ * * --> * - * \version $Id$ * * \author Bernie Innocenti * @@ -77,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