diff options
Diffstat (limited to 'src/fsm/i2c.c')
-rw-r--r-- | src/fsm/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsm/i2c.c b/src/fsm/i2c.c index af1eb34..6f7e193 100644 --- a/src/fsm/i2c.c +++ b/src/fsm/i2c.c @@ -144,7 +144,7 @@ void i2c_init() } RCC_APB1PeriphClockCmd(RCC_APB1Periph_I2C1, ENABLE); - RCC_APB1PeriphClockCmd(RCC_AHB1Periph_GPIOB, ENABLE); + RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOB, ENABLE); i2c_device_init(); i2c_init_done = 1; |