projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor to use new protocol module and sipo.
[bertos.git]
/
bertos
/
cpu
/
arm
/
drv
/
wdt_arm.h
diff --git
a/bertos/cpu/arm/drv/wdt_arm.h
b/bertos/cpu/arm/drv/wdt_arm.h
index 64f21eef91f98e8d168f6e3a848c2cbd8ec16e5a..cf6b480acf34092e2e01a1b4e2ae972c39de52e0 100644
(file)
--- a/
bertos/cpu/arm/drv/wdt_arm.h
+++ b/
bertos/cpu/arm/drv/wdt_arm.h
@@
-49,12
+49,10
@@
INLINE void wdt_stop(void) { WDT_MR = BV(WDT_WDDIS); }
INLINE void wdt_reset(void)
{
INLINE void wdt_stop(void) { WDT_MR = BV(WDT_WDDIS); }
INLINE void wdt_reset(void)
{
- #if (ARCH & ARCH_BOOT)
- WDT_CR = WDT_KEY | BV(WDT_WDRSTT);
- #endif
+ WDT_CR = WDT_KEY | BV(WDT_WDRSTT);
}
#else
#error "Missing watchdog support for yout CPU"
#endif
}
#else
#error "Missing watchdog support for yout CPU"
#endif
-#endif /
/DRV_WDT_ARM_H
+#endif /
* DRV_WDT_ARM_H */