mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
i2c: fix typo in SOC_I2C_SUPPORT_SALVE
Merges: https://github.com/espressif/esp-idf/pull/8513
This commit is contained in:
parent
5faf116d26
commit
1fce1616c4
@ -390,7 +390,7 @@ err:
|
|||||||
if (p_i2c_obj[i2c_num]->cmd_mux) {
|
if (p_i2c_obj[i2c_num]->cmd_mux) {
|
||||||
vSemaphoreDelete(p_i2c_obj[i2c_num]->cmd_mux);
|
vSemaphoreDelete(p_i2c_obj[i2c_num]->cmd_mux);
|
||||||
}
|
}
|
||||||
#if SOC_I2C_SUPPORT_SALVE
|
#if SOC_I2C_SUPPORT_SLAVE
|
||||||
if (p_i2c_obj[i2c_num]->slv_rx_mux) {
|
if (p_i2c_obj[i2c_num]->slv_rx_mux) {
|
||||||
vSemaphoreDelete(p_i2c_obj[i2c_num]->slv_rx_mux);
|
vSemaphoreDelete(p_i2c_obj[i2c_num]->slv_rx_mux);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user