From 1fce1616c4bb5758f6749161ea2fb6a3d7540786 Mon Sep 17 00:00:00 2001 From: Kevin Guilloy Date: Sun, 6 Mar 2022 22:54:59 +0100 Subject: [PATCH] i2c: fix typo in SOC_I2C_SUPPORT_SALVE Merges: https://github.com/espressif/esp-idf/pull/8513 --- components/driver/i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/driver/i2c.c b/components/driver/i2c.c index 0f55df3cec..0c46874294 100644 --- a/components/driver/i2c.c +++ b/components/driver/i2c.c @@ -390,7 +390,7 @@ err: if (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) { vSemaphoreDelete(p_i2c_obj[i2c_num]->slv_rx_mux); }