aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/gpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/gpt.h')
-rw-r--r--os/hal/include/gpt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/gpt.h b/os/hal/include/gpt.h
index 5dddb94fe..c16fd2a03 100644
--- a/os/hal/include/gpt.h
+++ b/os/hal/include/gpt.h
@@ -28,7 +28,7 @@
#ifndef _GPT_H_
#define _GPT_H_
-#if HAL_USE_GPT || defined(__DOXYGEN__)
+#if (HAL_USE_GPT == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
@@ -137,7 +137,7 @@ extern "C" {
}
#endif
-#endif /* HAL_USE_GPT */
+#endif /* HAL_USE_GPT == TRUE */
#endif /* _GPT_H_ */