소스 검색

Update Kconfig

Change I2C configuration hierarchy
liuduanfei 4 년 전
부모
커밋
ba5f2a5bb6
1개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 5 6
      components/drivers/Kconfig

+ 5 - 6
components/drivers/Kconfig

@@ -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
-        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
 endif
 
 
 config RT_USING_PIN
 config RT_USING_PIN