Fixed bug 3173336.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2705 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2011-02-05 07:57:57 +00:00
parent a79be48cde
commit 8e2f2c876b
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -69,6 +69,7 @@
*****************************************************************************
*** 2.3.0 ***
- FIX: Fixed wrong serial driver macros (bug 3173336)(backported to 2.2.1).
- NEW: Added experimental generic USB driver, it will certainly change in next
releases.
- NEW: Added an experimental USB driver implementation for STM32.