summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authorliuduanfei <[email protected]>2020-08-04 15:10:43 +0800
committerGitHub <[email protected]>2020-08-04 15:10:43 +0800
commitba5f2a5bb63950a9360de6910d4c07f4fa80a3fb (patch)
treee4e37282c777e8ce00280f2432e47406db6a6f2a /components/drivers
parentc0d78d4f88892f1d8f9cda5a7b9c9ea20f0e65ef (diff)
Update Kconfig
Change I2C configuration hierarchy
Diffstat (limited to 'components/drivers')
-rwxr-xr-xcomponents/drivers/Kconfig11
1 files changed, 5 insertions, 6 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 4ebde15125..6dffd9d5ea 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -95,12 +95,11 @@ if RT_USING_I2C
config RT_USING_I2C_BITOPS
bool "Use GPIO to simulate I2C"
default y
-endif
-
-if RT_USING_I2C_BITOPS
- config RT_I2C_BITOPS_DEBUG
- bool "Use simulate I2C debug message"
- default n
+ if RT_USING_I2C_BITOPS
+ config RT_I2C_BITOPS_DEBUG
+ bool "Use simulate I2C debug message"
+ default n
+ endif
endif
config RT_USING_PIN