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) { int i; + mutex_init(&i2c_mtx); + #if CONFIG_I2C == I2C_ONDIO /* make PB6 & PB7 general I/O */ PBCR2 &= ~0xf000;