From 34e221248d455a6df481bbf03327aac61a72ae2f Mon Sep 17 00:00:00 2001 From: mateusglucas <32110729+mateusglucas@users.noreply.github.com> Date: Thu, 22 Dec 2022 15:09:42 -0300 Subject: [PATCH] Update Kconfig Fix ESP-IDF configuration server error when enabling I2C ports 0 and 1. A previous fix only fixed the problem for I2C port 0. --- lvgl_i2c/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lvgl_i2c/Kconfig b/lvgl_i2c/Kconfig index 48df924..763e628 100644 --- a/lvgl_i2c/Kconfig +++ b/lvgl_i2c/Kconfig @@ -6,10 +6,10 @@ menu "I2C Port 0" if I2C_MANAGER_0_ENABLED config I2C_MANAGER_0_SDA int "SDA (GPIO pin)" - default 0 + default -1 config I2C_MANAGER_0_SCL int "SCL (GPIO pin)" - default 0 + default -1 config I2C_MANAGER_0_FREQ_HZ int "Frequency (Hz)" default 400000 @@ -57,8 +57,10 @@ menu "I2C Port 1" if I2C_MANAGER_1_ENABLED config I2C_MANAGER_1_SDA int "SDA (GPIO pin)" + default -1 config I2C_MANAGER_1_SCL int "SCL (GPIO pin)" + default -1 config I2C_MANAGER_1_FREQ_HZ int "Frequency (Hz)" default 1000000