summaryrefslogtreecommitdiff
path: root/i2c
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2021-01-15 13:04:35 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2021-01-15 13:04:35 +0100
commitd834303f5e642266874b1c99be04dcb9149fefb1 (patch)
treeb27d485646e983ea579cee6a5ce46ad76d824c46 /i2c
parent082db0c6b5b70df45ef16b7124a982df3054e3c8 (diff)
interrupt: Removed mf_vectors.
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;
}