Fixed bugs 3148525 and 3149141.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.0.x@2583 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2011-01-06 08:19:16 +00:00
parent 798694b2d6
commit 37cfe67a50
10 changed files with 11 additions and 10 deletions

View File

@ -64,7 +64,7 @@ void adcInit(void) {
/**
* @brief Initializes the standard part of a @p ADCDriver structure.
*
* @param[in] adcp pointer to the @p ADCDriver object
* @param[out] adcp pointer to the @p ADCDriver object
*/
void adcObjectInit(ADCDriver *adcp) {

View File

@ -64,7 +64,7 @@ void canInit(void) {
/**
* @brief Initializes the standard part of a @p CANDriver structure.
*
* @param[in] canp pointer to the @p CANDriver object
* @param[out] canp pointer to the @p CANDriver object
*/
void canObjectInit(CANDriver *canp) {

View File

@ -68,7 +68,7 @@ void macInit(void) {
/**
* @brief Initialize the standard part of a @p MACDriver structure.
*
* @param[in] macp pointer to the @p MACDriver object
* @param[out] macp pointer to the @p MACDriver object
*/
void macObjectInit(MACDriver *macp) {

View File

@ -197,7 +197,7 @@ void mmcInit(void) {
/**
* @brief Initializes an instance.
*
* @param[in] mmcp pointer to the @p MMCDriver object
* @param[out] mmcp pointer to the @p MMCDriver object
* @param[in] spip pointer to the SPI driver to be used as interface
* @param[in] lscfg low speed configuration for the SPI driver
* @param[in] hscfg high speed configuration for the SPI driver

View File

@ -64,7 +64,7 @@ void pwmInit(void) {
/**
* @brief Initializes the standard part of a @p PWMDriver structure.
*
* @param[in] pwmp pointer to a @p PWMDriver object
* @param[out] pwmp pointer to a @p PWMDriver object
*/
void pwmObjectInit(PWMDriver *pwmp) {

View File

@ -64,7 +64,7 @@ void spiInit(void) {
/**
* @brief Initializes the standard part of a @p SPIDriver structure.
*
* @param[in] spip pointer to the @p SPIDriver object
* @param[out] spip pointer to the @p SPIDriver object
*/
void spiObjectInit(SPIDriver *spip) {

View File

@ -75,7 +75,7 @@ void xxxObjectInit(XXXDriver *xxxp) {
/**
* @brief Configures and activates the XXX peripheral.
*
* @param[in] xxxp pointer to the @p XXXDriver object
* @param[out] xxxp pointer to the @p XXXDriver object
* @param[in] config pointer to the @p XXXConfig object
*/
void xxxStart(XXXDriver *xxxp, const XXXConfig *config) {

View File

@ -221,7 +221,7 @@ typedef GenericQueue OutputQueue;
* @param[in] onotify output notification callback pointer
*/
#define OUTPUTQUEUE_DECL(name, buffer, size, onotify) \
InputQueue name = _OUTPUTQUEUE_DATA(name, buffer, size, onotify)
OutputQueue name = _OUTPUTQUEUE_DATA(name, buffer, size, onotify)
#ifdef __cplusplus
extern "C" {

View File

@ -193,8 +193,6 @@ size_t chIQReadTimeout(InputQueue *iqp, uint8_t *bp,
*bp++ = *iqp->q_rdptr++;
if (iqp->q_rdptr >= iqp->q_top)
iqp->q_rdptr = iqp->q_buffer;
if (nfy)
nfy();
chSysUnlock(); /* Gives a preemption chance in a controlled point.*/
r++;
if (--n == 0) {

View File

@ -59,8 +59,11 @@
*****************************************************************************
*** 2.0.9 ***
- FIX: Fixed error in output queues static initializer (bug 3149141).
- FIX: Fixed extra notifications in input queues (bug 3148525).
- FIX: Fixed error in sdPutTimeout() macro (bug 3138763).
- FIX: Fixed preprocessing crt0.s fail (bug 3132293).
- Documentation related fixes.
*** 2.0.8 ***
- FIX: Fixed failed memory recovery by registry scan, improved the related