From 6fbd98c855b44d0cc2832cff664e082496529cc9 Mon Sep 17 00:00:00 2001 From: bernie Date: Tue, 12 Apr 2005 01:37:17 +0000 Subject: [PATCH] Prevent warning when watchdog is disabled. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@407 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/wdt.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drv/wdt.h b/drv/wdt.h index a0982950..730fa585 100755 --- a/drv/wdt.h +++ b/drv/wdt.h @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2005/04/12 01:37:17 bernie + *#* Prevent warning when watchdog is disabled. + *#* *#* Revision 1.3 2005/04/11 19:10:28 bernie *#* Include top-level headers from cfg/ subdir. *#* @@ -74,6 +77,8 @@ INLINE void wdt_init(uint8_t timeout) #else #error unknown CPU #endif +#else + (void)timeout; #endif /* CONFIG_WATCHDOG */ } -- 2.25.1