git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6930 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-05-12 09:26:23 +00:00
parent e0dbac1295
commit 9b11ca4993
2 changed files with 8 additions and 5 deletions

View File

@ -465,7 +465,7 @@ OSAL_IRQ_HANDLER(STM32_I2C2_ERROR_HANDLER) {
*
* @notapi
*/
OSAL_IRQ_HANDLER(I2C3_EV_IRQHandler) {
OSAL_IRQ_HANDLER(STM32_I2C3_EVENT_HANDLER) {
OSAL_IRQ_PROLOGUE();
@ -479,7 +479,7 @@ OSAL_IRQ_HANDLER(I2C3_EV_IRQHandler) {
*
* @notapi
*/
OSAL_IRQ_HANDLER(I2C3_ER_IRQHandler) {
OSAL_IRQ_HANDLER(STM32_I2C3_ERROR_HANDLER) {
uint16_t sr = I2CD3.i2c->SR1;
OSAL_IRQ_PROLOGUE();

View File

@ -67,6 +67,11 @@
#define STM32_I2C2_EVENT_NUMBER 33
#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.
*/
@ -140,12 +145,10 @@
/*
* Ethernet
*/
#define ETH_IRQHandler Vector134
#define ETH_IRQHandler Vector134
/** @} */
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/