4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-19 02:13:32 +08:00

Merge pull request #3802 from liuduanfei/master

Change I2C configuration hierarchy
This commit is contained in:
Bernard Xiong 2020-08-13 18:18:10 +08:00 committed by GitHub
commit d463a5a0ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,13 +95,13 @@ 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 if RT_USING_I2C_BITOPS
config RT_I2C_BITOPS_DEBUG config RT_I2C_BITOPS_DEBUG
bool "Use simulate I2C debug message" bool "Use simulate I2C debug message"
default n default n
endif endif
endif
config RT_USING_PIN config RT_USING_PIN
bool "Using generic GPIO device drivers" bool "Using generic GPIO device drivers"