From 8e2f2c876b88f385f9673beeca6126461b07300a Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 5 Feb 2011 07:57:57 +0000 Subject: Fixed bug 3173336. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2705 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/serial.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal') 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. -- cgit v1.2.3