Skip to content
Browse files

Fix repeated Uart Tx packet in Rx Uart channel

This fix allow to solve the problem of the repeated Tx packet in uart rx channel #2, it was tested with the example ModbusRTUTemperatureSensor, it show that the master unit receive only one time te packet, and that the packet is not replicated on the Uart rx channel.
  • Loading branch information...
Rocketct authored and sandeepmistry committed Aug 7, 2018
1 parent ae14987 commit 3b70a0bd167e08f12dc9716e9ec65174b45c8fa9
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/libmodbus/modbus-rtu.cpp
@@ -327,9 +327,11 @@ static ssize_t _modbus_rtu_send(modbus_t *ctx, const uint8_t *req, int req_lengt

ssize_t size;

size = RS485.write(req, req_length);

return size;

0 comments on commit 3b70a0b

Please sign in to comment.
You can’t perform that action at this time.