summaryrefslogtreecommitdiff
path: root/chip/stm32/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/i2c.c')
-rw-r--r--chip/stm32/i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/stm32/i2c.c b/chip/stm32/i2c.c
index e2f1a9fbd8..90fe4e2965 100644
--- a/chip/stm32/i2c.c
+++ b/chip/stm32/i2c.c
@@ -502,8 +502,6 @@ static void i2c_init(void)
i2c_init_port(I2C2);
/* Enable event and error interrupts */
- task_enable_irq(STM32_IRQ_I2C1_EV);
- task_enable_irq(STM32_IRQ_I2C1_ER);
task_enable_irq(STM32_IRQ_I2C2_EV);
task_enable_irq(STM32_IRQ_I2C2_ER);
}