[components] format Kconfig

This commit is contained in:
liang yongxiang 2018-07-18 11:05:39 +08:00
parent 4ca1d03bdf
commit bd044f674d
6 changed files with 28 additions and 28 deletions

View File

@ -1,17 +1,17 @@
menu "Modbus master and slave stack"
config RT_USING_MODBUS
bool "Enable Modbus stack"
default n
bool "Enable Modbus stack"
default n
if RT_USING_MODBUS
config RT_MODBUS_MASTER_RTU
bool "RTU master mode"
default n
if RT_USING_MODBUS
config RT_MODBUS_MASTER_RTU
bool "RTU master mode"
default n
config RT_MODBUS_SLAVE_RTU
bool "RTU slave mode"
default n
config RT_MODBUS_SLAVE_RTU
bool "RTU slave mode"
default n
if RT_MODBUS_SLAVE_RTU
config RT_MODBUS_SLAVE_USE_CONTROL_PIN
bool "Use Contorl Pin"
@ -22,6 +22,6 @@ config RT_USING_MODBUS
default 10
endif
endif
endif
endif
endmenu