mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
i2c: i2c errors no longer mapped to event channel
Both EVents and ERrors were mistakenly being mapped to the EVent IRQ channel. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@659 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
874239154a
commit
d678720855
@ -90,7 +90,7 @@ TIM8 | Servo 5 | Servo 6 | Servo 7 | Servo 8
|
||||
#define PIOS_I2C_IRQ_EV_HANDLER void I2C2_EV_IRQHandler(void)
|
||||
#define PIOS_I2C_IRQ_ER_HANDLER void I2C2_ER_IRQHandler(void)
|
||||
#define PIOS_I2C_IRQ_EV_CHANNEL I2C2_EV_IRQn
|
||||
#define PIOS_I2C_IRQ_ER_CHANNEL I2C2_EV_IRQn
|
||||
#define PIOS_I2C_IRQ_ER_CHANNEL I2C2_ER_IRQn
|
||||
#define PIOS_I2C_IRQ_EV_PRIORITY PIOS_IRQ_PRIO_HIGH
|
||||
#define PIOS_I2C_IRQ_ER_PRIORITY PIOS_IRQ_PRIO_HIGH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user