From 74137a31a24da2d55013b7761074cff0da3067ce Mon Sep 17 00:00:00 2001 From: jhb <1023506846@qq.com> Date: Wed, 24 Apr 2019 09:51:44 +0800 Subject: [PATCH] fix format --- bsp/stm32/stm32l4r9-st-eval/board/Kconfig | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/bsp/stm32/stm32l4r9-st-eval/board/Kconfig b/bsp/stm32/stm32l4r9-st-eval/board/Kconfig index f339801339..09c1ff58ca 100644 --- a/bsp/stm32/stm32l4r9-st-eval/board/Kconfig +++ b/bsp/stm32/stm32l4r9-st-eval/board/Kconfig @@ -20,20 +20,19 @@ menu "Onboard Peripheral Drivers" default n menu "Enable Touch" + config BSP_USING_TOUCH bool "Enable Touch drivers" select BSP_USING_I2C1 - default n - if BSP_USING_TOUCH - - config BSP_TOUCH_INT_PIN - int "Touch interrupt pin" - default 34 - config BSP_I2C1_NAME - string "I2C1 Name for Touch" - default i2c1 - - endif + default n + if BSP_USING_TOUCH + config BSP_TOUCH_INT_PIN + int "Touch interrupt pin" + default 34 + config BSP_I2C1_NAME + string "I2C1 Name for Touch" + default i2c1 + endif config TOUCH_IC_FT3X67 bool "FT3X67"