diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-05 07:57:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-05 07:57:57 +0000 |
commit | 8e2f2c876b88f385f9673beeca6126461b07300a (patch) | |
tree | 78f7c1e7cc0f5e601e222917dd84409276b881bb /os/hal | |
parent | a79be48cdea4c24bc5a30876704feb64017b29ce (diff) | |
download | ChibiOS-8e2f2c876b88f385f9673beeca6126461b07300a.tar.gz ChibiOS-8e2f2c876b88f385f9673beeca6126461b07300a.tar.bz2 ChibiOS-8e2f2c876b88f385f9673beeca6126461b07300a.zip |
Fixed bug 3173336.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2705 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal')
-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 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.
|