summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-08-13 18:18:10 +0800
committerGitHub <[email protected]>2020-08-13 18:18:10 +0800
commitd463a5a0bad360c0ba17bf60356683317f1e20ae (patch)
treef5cbdf6f7467dbcc502f8e60f227610245305cf9 /components
parent4d3027e9949ffcfb654aeb13392cb5b89f0448b1 (diff)
parent27a6ebf4b1f5be57661c7c6152ec3efc96a14855 (diff)
Merge pull request #3802 from liuduanfei/master
Change I2C configuration hierarchy
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/drivers/Kconfig10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 4ebde15125..457b8751fe 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -95,12 +95,12 @@ 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