From d372d50f5efd22b7fcda721e39ad68318b8ccace Mon Sep 17 00:00:00 2001 From: Hauke Petersen Date: Tue, 4 Nov 2014 21:07:14 +0100 Subject: [PATCH] board/iot-lab_M3: added I2C ISR defines --- boards/iot-lab_M3/include/periph_conf.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/iot-lab_M3/include/periph_conf.h b/boards/iot-lab_M3/include/periph_conf.h index d1ab638cf4..6dca7900cb 100644 --- a/boards/iot-lab_M3/include/periph_conf.h +++ b/boards/iot-lab_M3/include/periph_conf.h @@ -298,8 +298,10 @@ extern "C" { #define I2C_0_DEV I2C1 #define I2C_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_I2C1EN) #define I2C_0_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_I2C1EN)) -#define I2C_0_IRQ I2C1_EV_IRQn -#define I2C_0_ISR isr_i2c1 +#define I2C_0_EVT_IRQ I2C1_EV_IRQn +#define I2C_0_EVT_ISR isr_i2c1_ev +#define I2C_0_ERR_IRQ I2C1_ER_IRQn +#define I2C_0_ERR_ISR isr_i2c1_er /* I2C 0 pin configuration */ #define I2C_0_SCL_PORT GPIOB #define I2C_0_SCL_PIN 6