Fixed bug #496.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6930 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
e0dbac1295
commit
9b11ca4993
|
@ -465,7 +465,7 @@ OSAL_IRQ_HANDLER(STM32_I2C2_ERROR_HANDLER) {
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
OSAL_IRQ_HANDLER(I2C3_EV_IRQHandler) {
|
OSAL_IRQ_HANDLER(STM32_I2C3_EVENT_HANDLER) {
|
||||||
|
|
||||||
OSAL_IRQ_PROLOGUE();
|
OSAL_IRQ_PROLOGUE();
|
||||||
|
|
||||||
|
@ -479,7 +479,7 @@ OSAL_IRQ_HANDLER(I2C3_EV_IRQHandler) {
|
||||||
*
|
*
|
||||||
* @notapi
|
* @notapi
|
||||||
*/
|
*/
|
||||||
OSAL_IRQ_HANDLER(I2C3_ER_IRQHandler) {
|
OSAL_IRQ_HANDLER(STM32_I2C3_ERROR_HANDLER) {
|
||||||
uint16_t sr = I2CD3.i2c->SR1;
|
uint16_t sr = I2CD3.i2c->SR1;
|
||||||
|
|
||||||
OSAL_IRQ_PROLOGUE();
|
OSAL_IRQ_PROLOGUE();
|
||||||
|
|
|
@ -67,6 +67,11 @@
|
||||||
#define STM32_I2C2_EVENT_NUMBER 33
|
#define STM32_I2C2_EVENT_NUMBER 33
|
||||||
#define STM32_I2C2_ERROR_NUMBER 34
|
#define STM32_I2C2_ERROR_NUMBER 34
|
||||||
|
|
||||||
|
#define STM32_I2C3_EVENT_HANDLER Vector160
|
||||||
|
#define STM32_I2C3_ERROR_HANDLER Vector164
|
||||||
|
#define STM32_I2C3_EVENT_NUMBER 72
|
||||||
|
#define STM32_I2C3_ERROR_NUMBER 73
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* OTG units.
|
* OTG units.
|
||||||
*/
|
*/
|
||||||
|
@ -140,12 +145,10 @@
|
||||||
/*
|
/*
|
||||||
* Ethernet
|
* Ethernet
|
||||||
*/
|
*/
|
||||||
#define ETH_IRQHandler Vector134
|
#define ETH_IRQHandler Vector134
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver pre-compile time settings. */
|
/* Driver pre-compile time settings. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue