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");
ls
1 parent b7c2dd0 commit 035b7871bf6b1c84a216267bf10f71d64dc9c778
@Jerome Coutant Jerome Coutant authored on 8 Oct 2021
Showing 2 changed files
View
targets/TARGET_STM/TARGET_STM32WB/i2c_device.c
View
targets/TARGET_STM/TARGET_STM32WL/i2c_device.c