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