Skip to content

Commit

Permalink
apps/modbus/Kconfig: Fix modbus master Kconfig. Modbus Master ASCII c…
Browse files Browse the repository at this point in the history
…ompiles correctly
  • Loading branch information
acassis authored and gregory-nutt committed Jan 28, 2019
1 parent 902c3fa commit 2973c48
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions modbus/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -150,21 +150,20 @@ config MODBUS_MASTER
bool "Modbus Master support via FreeModBus"
default n

if MODBUS_MASTER

if 0
config MB_ASCII_MASTER
bool "Modbus ASCII master"
default n
endif
depends on MODBUS_MASTER

config MB_RTU_MASTER
bool "Modbus RTU master"
default n
depends on MODBUS_MASTER

config MB_PORT_HAS_CLOSE
bool "Platform close callbacks"
default n
depends on MODBUS_MASTER
---help---
A port which wants to get an callback must select
CONFIG_MB_HAS_CLOSE and provide vMBMasterPortClose() as
Expand Down Expand Up @@ -251,6 +250,5 @@ config MB_MASTER_FUNC_READWRITE_HOLDING_ENABLED
If the Read/Write Multiple Registers function should be enabled.

endif # MB_ASCII_MASTER || MB_RTU_MASTER
endif # MODBUS_MASTER
endif # MODBUS
endmenu # FreeModBus

0 comments on commit 2973c48

Please sign in to comment.