projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shorten variable name.
[bertos.git]
/
bertos
/
drv
/
wdt.h
diff --git
a/bertos/drv/wdt.h
b/bertos/drv/wdt.h
index e5a90e76efd04fa5235788e9a3c9d501fb987eb0..89752bf7ac6a04625d390d64cd9cc3987ab1058b 100644
(file)
--- a/
bertos/drv/wdt.h
+++ b/
bertos/drv/wdt.h
@@
-36,11
+36,9
@@
*
* \brief Watchdog module, supplies a simple API to manage wdt on supported target.
*
*
* \brief Watchdog module, supplies a simple API to manage wdt on supported target.
*
- * $WIZARD_MODULE = {
- * "name" : "wdt",
- * "depends" : [],
- * "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
@@
-79,11
+77,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