From 1ca16067f606c4916aee8a0f2f0d94cb517d6727 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 7 May 2022 16:51:56 +0200 Subject: [PATCH] Modbus: remove duplicate delay --- provider/modbus.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/provider/modbus.go b/provider/modbus.go index 335d303b1..5127dfca4 100644 --- a/provider/modbus.go +++ b/provider/modbus.go @@ -59,11 +59,6 @@ func NewModbusFromConfig(other map[string]interface{}) (IntProvider, error) { return nil, err } - // set non-default delay - if cc.Delay > 0 { - conn.Delay(cc.Delay) - } - // set non-default timeout if cc.Timeout > 0 { conn.Timeout(cc.Timeout)