1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-24 13:21:23 +01:00

IO_Modbus: commented out Mbed delay

This commit is contained in:
travis-farmer 2024-11-29 04:38:57 -05:00
parent 411d5c0087
commit 9e5b864055
No known key found for this signature in database
GPG Key ID: 0BC296791D14CB35

View File

@ -253,7 +253,7 @@ void ModbusRTUComm::writeAdu(ModbusADU& adu) {
if (_rePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_rePin, HIGH); if (_rePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_rePin, HIGH);
_serial.write(adu.rtu, adu.getRtuLen()); _serial.write(adu.rtu, adu.getRtuLen());
_serial.flush(); _serial.flush();
delayMicroseconds(_postDelay); ///delayMicroseconds(_postDelay); // TJF: Commented out as Mbed platforms are not supported
if (_dePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_dePin, LOW); if (_dePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_dePin, LOW);
if (_rePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_rePin, LOW); if (_rePin != VPIN_NONE) ArduinoPins::fastWriteDigital(_rePin, LOW);
} }