Update Kconfig

Change I2C configuration hierarchy
This commit is contained in:
liuduanfei 2020-08-04 15:10:43 +08:00 committed by GitHub
parent c0d78d4f88
commit ba5f2a5bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,12 +95,11 @@ if RT_USING_I2C
config RT_USING_I2C_BITOPS config RT_USING_I2C_BITOPS
bool "Use GPIO to simulate I2C" bool "Use GPIO to simulate I2C"
default y default y
endif if RT_USING_I2C_BITOPS
config RT_I2C_BITOPS_DEBUG
if RT_USING_I2C_BITOPS bool "Use simulate I2C debug message"
config RT_I2C_BITOPS_DEBUG default n
bool "Use simulate I2C debug message" endif
default n
endif endif
config RT_USING_PIN config RT_USING_PIN