https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/sserial.c#L1214
“return” should be “break”
Easy fix, but some effort to test, hence the tracker.
评论 (2)
#2 – andypugh 于 2019-06-09
It’s been 18 months since I fixed this, and there has been no report of problems.
#1 – andypugh 于 2018-04-23
After significant changes to sserial.c the relevant return/break is now
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/sserial.c#L1923
Still needs testing with a firmware with more than one port.