aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/include/serial.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/serial.h b/os/hal/include/serial.h
index 535dffc1f..25e046d6e 100644
--- a/os/hal/include/serial.h
+++ b/os/hal/include/serial.h
@@ -137,7 +137,7 @@ struct SerialDriver {
*
* @api
*/
-#define sdPutWouldBlock(sdp) chOQIsFull(&(sdp)->oqueue)
+#define sdPutWouldBlock(sdp) chOQIsFullI(&(sdp)->oqueue)
/**
* @brief Direct input check on a @p SerialDriver.
@@ -149,7 +149,7 @@ struct SerialDriver {
*
* @api
*/
-#define sdGetWouldBlock(sdp) chIQIsEmpty(&(sdp)->iqueue)
+#define sdGetWouldBlock(sdp) chIQIsEmptyI(&(sdp)->iqueue)
/**
* @brief Direct write to a @p SerialDriver.