From 9e5b86405529cdf4218d5929ccc018c4062de541 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Fri, 29 Nov 2024 04:38:57 -0500 Subject: [PATCH] IO_Modbus: commented out Mbed delay --- IO_Modbus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IO_Modbus.cpp b/IO_Modbus.cpp index 6ff0ce0..2a51955 100644 --- a/IO_Modbus.cpp +++ b/IO_Modbus.cpp @@ -253,7 +253,7 @@ void ModbusRTUComm::writeAdu(ModbusADU& adu) { if (_rePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_rePin, HIGH); _serial.write(adu.rtu, adu.getRtuLen()); _serial.flush(); - delayMicroseconds(_postDelay); + ///delayMicroseconds(_postDelay); // TJF: Commented out as Mbed platforms are not supported if (_dePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_dePin, LOW); if (_rePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_rePin, LOW); }