Merge branch 'bugfix/i2c_clear_bus_wrong_calue' into 'master'

fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3

See merge request espressif/esp-idf!33403
This commit is contained in:
morris 2024-09-10 09:30:49 +08:00
commit f0a2091e4d
3 changed files with 3 additions and 3 deletions

View File

@ -647,7 +647,7 @@ static inline void i2c_ll_master_clr_bus(i2c_dev_t *hw, uint32_t slave_pulses, b
*/
static inline bool i2c_ll_master_is_bus_clear_done(i2c_dev_t *hw)
{
return true;
return false;
}
/**

View File

@ -678,7 +678,7 @@ static inline void i2c_ll_master_clr_bus(i2c_dev_t *hw, uint32_t slave_pulses, b
*/
static inline bool i2c_ll_master_is_bus_clear_done(i2c_dev_t *hw)
{
return true; // not supported on esp32s2
return false; // not supported on esp32s2
}
/**

View File

@ -817,7 +817,7 @@ static inline void i2c_ll_master_clr_bus(i2c_dev_t *hw, uint32_t slave_pulses, b
*/
static inline bool i2c_ll_master_is_bus_clear_done(i2c_dev_t *hw)
{
return true; // not supported on esp32s3
return false; // not supported on esp32s3
}
/**