diff options
Diffstat (limited to 'os/hal/include/serial.h')
-rw-r--r-- | os/hal/include/serial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/serial.h b/os/hal/include/serial.h index aa2435494..3e0d1263e 100644 --- a/os/hal/include/serial.h +++ b/os/hal/include/serial.h @@ -28,7 +28,7 @@ #ifndef _SERIAL_H_
#define _SERIAL_H_
-#if HAL_USE_SERIAL || defined(__DOXYGEN__)
+#if (HAL_USE_SERIAL == TRUE) || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
@@ -304,7 +304,7 @@ extern "C" { }
#endif
-#endif /* HAL_USE_SERIAL */
+#endif /* HAL_USE_SERIAL == TRUE */
#endif /* _SERIAL_H_ */
|