summaryrefslogtreecommitdiff
path: root/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'i2c')
-rw-r--r--i2c/i2c.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/i2c/i2c.cpp b/i2c/i2c.cpp
index d4a3d3a..36ce972 100644
--- a/i2c/i2c.cpp
+++ b/i2c/i2c.cpp
@@ -99,9 +99,6 @@ void I2C_t::enable() {
reg.TRISE = clk / 1000000 + 1;
reg.CCR = clk / 2 / 100000;
- Interrupt::enable(irq_ev_n, &I2C_t::irq_ev, this);
- Interrupt::enable(irq_er_n, &I2C_t::irq_er, this);
-
reg.CR1 = 1;
}