diff options
-rw-r--r-- | firmware/drivers/i2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/i2c.c b/firmware/drivers/i2c.c index f919257c49..8cc7c78a2d 100644 --- a/firmware/drivers/i2c.c +++ b/firmware/drivers/i2c.c | |||
@@ -88,6 +88,8 @@ void i2c_init(void) | |||
88 | { | 88 | { |
89 | int i; | 89 | int i; |
90 | 90 | ||
91 | mutex_init(&i2c_mtx); | ||
92 | |||
91 | #if CONFIG_I2C == I2C_ONDIO | 93 | #if CONFIG_I2C == I2C_ONDIO |
92 | /* make PB6 & PB7 general I/O */ | 94 | /* make PB6 & PB7 general I/O */ |
93 | PBCR2 &= ~0xf000; | 95 | PBCR2 &= ~0xf000; |