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:
parent
411d5c0087
commit
9e5b864055
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user