Remove unneeded ifdef.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jan 2012 14:40:29 +0000 (14:40 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 11 Jan 2012 14:40:29 +0000 (14:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5249 38d2e660-2303-0410-9eaa-f027e97ec537

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 */