Fixed bug 3173336.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.2.x@2706 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2011-02-05 08:00:28 +00:00
parent 054a97b71e
commit d417697df5
4 changed files with 10 additions and 5 deletions

View File

@ -31,7 +31,7 @@ PROJECT_NAME = ChibiOS/RT
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER = 2.2.0
PROJECT_NUMBER = 2.2.1
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.

View File

@ -141,10 +141,11 @@ struct SerialDriver {
* be used to check different channels implementations.
*
* @see chIOPutWouldBlock()
* @deprecated
*
* @api
*/
#define sdPutWouldBlock(sdp) chOQIsFull(&(sdp)->oqueue)
#define sdPutWouldBlock(sdp) chOQIsFullI(&(sdp)->oqueue)
/**
* @brief Direct input check on a @p SerialDriver.
@ -153,10 +154,11 @@ struct SerialDriver {
* be used to check different channels implementations.
*
* @see chIOGetWouldBlock()
* @deprecated
*
* @api
*/
#define sdGetWouldBlock(sdp) chIQIsEmpty(&(sdp)->iqueue)
#define sdGetWouldBlock(sdp) chIQIsEmptyI(&(sdp)->iqueue)
/**
* @brief Direct write to a @p SerialDriver.

View File

@ -46,7 +46,7 @@
/**
* @brief Kernel version string.
*/
#define CH_KERNEL_VERSION "2.2.0"
#define CH_KERNEL_VERSION "2.2.1"
/**
* @brief Kernel version major number.
@ -61,7 +61,7 @@
/**
* @brief Kernel version patch number.
*/
#define CH_KERNEL_PATCH 0
#define CH_KERNEL_PATCH 1
/*
* Common values.

View File

@ -68,6 +68,9 @@
*** Releases ***
*****************************************************************************
*** 2.2.1 ***
- FIX: Fixed wrong serial driver macros (bug 3173336).
*** 2.2.0 ***
- NEW: The Cortex-Mx port now also supports the IAR and Keil compilers.
- NEW: Improvements to the Cortex-Mx port.