STM32Wx: I2C issue
a "else" was missing for uint32_t i2c_get_pclk(I2CName i2c) if (i2c == I2C_1) { else if (i2c == I2C_2) { else if (i2c == I2C_3) { else { error("I2C: unknown instance"); |
---|
|
targets/TARGET_STM/TARGET_STM32WB/i2c_device.c |
---|
targets/TARGET_STM/TARGET_STM32WL/i2c_device.c |
---|