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.
This commit is contained in:
mateusglucas 2022-12-22 15:09:42 -03:00 committed by GitHub
parent 26fe6e7703
commit 34e221248d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,10 +6,10 @@ menu "I2C Port 0"
if I2C_MANAGER_0_ENABLED if I2C_MANAGER_0_ENABLED
config I2C_MANAGER_0_SDA config I2C_MANAGER_0_SDA
int "SDA (GPIO pin)" int "SDA (GPIO pin)"
default 0 default -1
config I2C_MANAGER_0_SCL config I2C_MANAGER_0_SCL
int "SCL (GPIO pin)" int "SCL (GPIO pin)"
default 0 default -1
config I2C_MANAGER_0_FREQ_HZ config I2C_MANAGER_0_FREQ_HZ
int "Frequency (Hz)" int "Frequency (Hz)"
default 400000 default 400000
@ -57,8 +57,10 @@ menu "I2C Port 1"
if I2C_MANAGER_1_ENABLED if I2C_MANAGER_1_ENABLED
config I2C_MANAGER_1_SDA config I2C_MANAGER_1_SDA
int "SDA (GPIO pin)" int "SDA (GPIO pin)"
default -1
config I2C_MANAGER_1_SCL config I2C_MANAGER_1_SCL
int "SCL (GPIO pin)" int "SCL (GPIO pin)"
default -1
config I2C_MANAGER_1_FREQ_HZ config I2C_MANAGER_1_FREQ_HZ
int "Frequency (Hz)" int "Frequency (Hz)"
default 1000000 default 1000000