Refactor to use new protocol module and sipo.
[bertos.git] / bertos / cpu / arm / drv / wdt_arm.h
index 64f21eef91f98e8d168f6e3a848c2cbd8ec16e5a..cf6b480acf34092e2e01a1b4e2ae972c39de52e0 100644 (file)
        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
 
-#endif //DRV_WDT_ARM_H
+#endif /* DRV_WDT_ARM_H */