Skip to content

Commit 75386d8

Browse files
author
JTrantow
committed
Issue#3849 Fix.
1 parent 789e716 commit 75386d8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hal/drivers/mesa-hostmot2/hm2_modbus.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,6 +1054,7 @@ static void process(void *arg, long period)
10541054
HM2_PKTUART_RCR_ICHARBITS_VAL(frsize), inst->maxicharbits);
10551055
set_error(inst, ENOMSG);
10561056
force_resend(inst);
1057+
queue_reset(inst);
10571058
break;
10581059
}
10591060
inst->rxdata[0] = 0; // This will fail the parse packet if the read did not resolve

0 commit comments

Comments
 (0)