From ba5f2a5bb63950a9360de6910d4c07f4fa80a3fb Mon Sep 17 00:00:00 2001 From: liuduanfei <939763442@qq.com> Date: Tue, 4 Aug 2020 15:10:43 +0800 Subject: [PATCH] Update Kconfig Change I2C configuration hierarchy --- components/drivers/Kconfig | 11 +++++------ 1 file 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