From 4d8a6a97c6c0e15296b51d5f02674079bede1aa0 Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 11 Jan 2012 14:40:29 +0000 Subject: [PATCH] Remove unneeded ifdef. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5249 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/arm/drv/wdt_arm.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bertos/cpu/arm/drv/wdt_arm.h b/bertos/cpu/arm/drv/wdt_arm.h index 64f21eef..cf6b480a 100644 --- 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) { - #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 */ -- 2.25.1