modbus: Add dependency to UART runtime configuration

Force enabling of the UART runtime configuration for modbus serial.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2023-11-13 09:47:24 +01:00 committed by Carles Cufí
parent 7778b7d46d
commit b032382011

View File

@ -44,6 +44,7 @@ config MODBUS_SERIAL
default y
depends on SERIAL && SERIAL_HAS_DRIVER
depends on DT_HAS_ZEPHYR_MODBUS_SERIAL_ENABLED
select UART_USE_RUNTIME_CONFIGURE
help
Enable Modbus over serial line support.