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

This commit is contained in:
C.S.M 2024-09-09 19:15:02 +08:00
parent 7be3141195
commit 403bd86a21
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
}
/**