[LinuxCNC/linuxcnc PR#594] num_sserials=N is not used in hostmot2.c

未分类 bolang 5个月前 (10-15) 24次浏览

Issue #594 | 状态: 已关闭 | 作者: sleepybishop | 创建时间: 2019-05-21


num_sserials config parameter doesn’t seemed to be used by the code, this PR removes it from the docs.


评论 (1)

#1 – andypugh 于 2019-05-21

I think that this is right and
https://github.com/LinuxCNC/linuxcnc/commit/ade72db61014152e1f78dd6112dd321474217b5c#diff-91a3d2867cf0072d0f9d88cbb4c4f1ff
was wrong

numsserials is used internally, but the parameter string parsing looks for “sserialport” rather than “numsserials”
https://github.com/LinuxCNC/linuxcnc/blob/0f91c553a238c3f5e8a52285044761c2dcfd7de5/src/hal/drivers/mesa-hostmot2/hostmot2.c#L415


原始Issue: https://github.com/LinuxCNC/linuxcnc/pull/594

喜欢 (0)