Fixed bug #959.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12153 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
0082938a99
commit
bae460fde1
|
@ -129,17 +129,16 @@ typedef enum {
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
#define _i2s_isr_full_code(i2sp) { \
|
#define _i2s_isr_full_code(i2sp) { \
|
||||||
if ((i2sp)->config->end_cb) { \
|
if ((i2sp)->config->end_cb) { \
|
||||||
(i2sp)->state = I2S_COMPLETE; \
|
(i2sp)->state = I2S_COMPLETE; \
|
||||||
(i2sp)->config->end_cb(i2sp, \
|
(i2sp)->config->end_cb(i2sp, \
|
||||||
(i2sp)->config->size / 2, \
|
(i2sp)->config->size / 2, \
|
||||||
(i2sp)->config->size / 2); \
|
(i2sp)->config->size / 2); \
|
||||||
if ((i2sp)->state == I2S_COMPLETE) \
|
if ((i2sp)->state == I2S_COMPLETE) { \
|
||||||
(i2sp)->state = I2S_READY; \
|
(i2sp)->state = I2S_ACTIVE; \
|
||||||
|
} \
|
||||||
} \
|
} \
|
||||||
else \
|
|
||||||
(i2sp)->state = I2S_READY; \
|
|
||||||
}
|
}
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
|
@ -141,6 +141,8 @@
|
||||||
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LIS302DL to 1.1.0 (backported to 18.2.1).
|
||||||
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LPS25H to 1.1.0 (backported to 18.2.1).
|
||||||
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
|
- EX: Updated LSM303DLHC to 1.1.0 (backported to 18.2.1).
|
||||||
|
- HAL: Fixed incorrect state change in I2S driver (bug #959)(backported
|
||||||
|
to 18.2.2 and 17.6.5).
|
||||||
- HAL: Fixed incorrect TCIE handling in STM32 serial drivers (bug #958)
|
- HAL: Fixed incorrect TCIE handling in STM32 serial drivers (bug #958)
|
||||||
(backported to 18.2.2 and 17.6.5).
|
(backported to 18.2.2 and 17.6.5).
|
||||||
- HAL: Fixed invalid period calculation in STM32 GPT driver (bug #957)
|
- HAL: Fixed invalid period calculation in STM32 GPT driver (bug #957)
|
||||||
|
|
Loading…
Reference in New Issue