X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=drv%2Fwdt.h;h=730fa585d84c6daf2673aadb636293ae8e33e2e4;hb=c5049d7bb6178222c952030c2f2a6f52a43ddda1;hp=a0982950f0c4b621a4c2b5eb0af62bf99d15262b;hpb=af9c555446161016fdd76c1cdff96ce76bb6cba2;p=bertos.git 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 */ }