aboutsummaryrefslogtreecommitdiffstats
path: root/src/chserial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chserial.c')
-rw-r--r--src/chserial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chserial.c b/src/chserial.c
index 9a2dd4018..cb0dfd6b6 100644
--- a/src/chserial.c
+++ b/src/chserial.c
@@ -26,7 +26,7 @@
#include <ch.h>
-#ifdef CH_USE_SERIAL_FULLDUPLEX
+#if CH_USE_SERIAL_FULLDUPLEX
/**
* @brief Initializes a generic full duplex driver.
* @details The HW dependent part of the initialization has to be performed
@@ -117,7 +117,7 @@ dflags_t chFDDGetAndClearFlags(FullDuplexDriver *sd) {
}
#endif /* CH_USE_SERIAL_FULLDUPLEX */
-#ifdef CH_USE_SERIAL_HALFDUPLEX
+#if CH_USE_SERIAL_HALFDUPLEX
/**
* @brief Initializes a generic half duplex driver.
* @details The HW dependent part of the initialization has to be performed