From 7fab74bc8f0c4a034c7710682cd45995dbb161c6 Mon Sep 17 00:00:00 2001 From: JeroenSt Date: Tue, 26 Jul 2022 09:38:57 +0200 Subject: [PATCH] ModbusBridgeBegin was not called at (boot) init --- tasmota/tasmota_xdrv_driver/xdrv_63_modbus_bridge.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_63_modbus_bridge.ino b/tasmota/tasmota_xdrv_driver/xdrv_63_modbus_bridge.ino index 6f94f0485..1a58736a2 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_63_modbus_bridge.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_63_modbus_bridge.ino @@ -360,7 +360,7 @@ void ModbusBridgeInit(void) if (PinUsed(GPIO_MBR_RX) && PinUsed(GPIO_MBR_TX)) { tasmotaModbus = new TasmotaModbus(Pin(GPIO_MBR_RX), Pin(GPIO_MBR_TX)); - + ModbusBridgeBegin(); #ifdef USE_MODBUS_BRIDGE_TCP // If TCP bridge is enabled allocate a TCP receive buffer modbusBridgeTCP.tcp_buf = (uint8_t *)malloc(MODBUS_BRIDGE_TCP_BUF_SIZE);