diff options
Diffstat (limited to 'os/hal/templates/hal_wdg_lld.c')
-rw-r--r-- | os/hal/templates/hal_wdg_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/templates/hal_wdg_lld.c b/os/hal/templates/hal_wdg_lld.c index b446a30d5..b24213381 100644 --- a/os/hal/templates/hal_wdg_lld.c +++ b/os/hal/templates/hal_wdg_lld.c @@ -24,7 +24,7 @@ #include "hal.h"
-#if HAL_USE_WDG || defined(__DOXYGEN__)
+#if (HAL_USE_WDG == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
@@ -34,7 +34,7 @@ /* Driver exported variables. */
/*===========================================================================*/
-#if PLATFORM_WDG_USE_WDG1 || defined(__DOXYGEN__)
+#if (PLATFORM_WDG_USE_WDG1 == TRUE) || defined(__DOXYGEN__)
WDGDriver WDGD1;
#endif
|