projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
drv
/
wdt.h
diff --git
a/bertos/drv/wdt.h
b/bertos/drv/wdt.h
index b6db12475a0861d251bf60c4b662f299653c7ae0..faba48d9c6a36c16f832b351ff3aa4e66452483f 100644
(file)
--- a/
bertos/drv/wdt.h
+++ b/
bertos/drv/wdt.h
@@
-30,7
+30,6
@@
*
* -->
*
*
* -->
*
- * \version $Id$
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
@@
-38,6
+37,7
@@
*
* $WIZ$ module_name = "wdt"
* $WIZ$ module_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
*/
#ifndef DRV_WDT_H
@@
-76,11
+76,7
@@
INLINE void wdt_reset(void)
{
#if CONFIG_WATCHDOG
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
static struct timeval tv = { 0, 0 };
select(0, NULL, NULL, NULL, &tv);
#endif