浏览代码

Merge pull request #3802 from liuduanfei/master

Change I2C configuration hierarchy
Bernard Xiong 4 年之前
父节点
当前提交
d463a5a0ba
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      components/drivers/Kconfig

+ 5 - 5
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