diff options
Diffstat (limited to 'os/hal/src/gpt.c')
-rw-r--r-- | os/hal/src/gpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/gpt.c b/os/hal/src/gpt.c index c654b290e..2fa9718ec 100644 --- a/os/hal/src/gpt.c +++ b/os/hal/src/gpt.c @@ -27,7 +27,7 @@ #include "hal.h"
-#if HAL_USE_GPT || defined(__DOXYGEN__)
+#if (HAL_USE_GPT == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver local definitions. */
@@ -260,6 +260,6 @@ void gptPolledDelay(GPTDriver *gptp, gptcnt_t interval) { gptp->state = GPT_READY;
}
-#endif /* HAL_USE_GPT */
+#endif /* HAL_USE_GPT == TRUE */
/** @} */
|