projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Misc PGM fixes.
[bertos.git]
/
drv
/
wdt.h
diff --git
a/drv/wdt.h
b/drv/wdt.h
index a0982950f0c4b621a4c2b5eb0af62bf99d15262b..730fa585d84c6daf2673aadb636293ae8e33e2e4 100755
(executable)
--- a/
drv/wdt.h
+++ b/
drv/wdt.h
@@
-14,6
+14,9
@@
/*#*
*#* $Log$
/*#*
*#* $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.
*#*
*#* 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
#error unknown CPU
#endif
+#else
+ (void)timeout;
#endif /* CONFIG_WATCHDOG */
}
#endif /* CONFIG_WATCHDOG */
}