projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968: improve the example with GUI enhancements, keypad driver and menu.
[bertos.git]
/
bertos
/
drv
/
wdt.h
diff --git
a/bertos/drv/wdt.h
b/bertos/drv/wdt.h
index 2e2a4c818f8dcee1e7a53e07d70e07d00bb357f3..89752bf7ac6a04625d390d64cd9cc3987ab1058b 100644
(file)
--- a/
bertos/drv/wdt.h
+++ b/
bertos/drv/wdt.h
@@
-34,12
+34,11
@@
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
- * \brief Watchdog interface
- * $WIZARD_MODULE = {
- * "name" : "wdt",
- * "depends" : [],
- * "configuration" : "bertos/cfg/cfg_wdt.h"
- * }
+ * \brief Watchdog module, supplies a simple API to manage wdt on supported target.
+ *
+ * $WIZ$ module_name = "wdt"
+ * $WIZ$ module_configuration = "bertos/cfg/cfg_wdt.h"
+ * $WIZ$ module_supports = "avr"
*/
#ifndef DRV_WDT_H
*/
#ifndef DRV_WDT_H
@@
-78,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