开源改变世界

stepper.c st.step_count– #574

推推 grbl 3年前 (2023-01-22) 78次浏览

关闭
你新开了这个 issue2015 年 1 月 17 日 · 1条评论

注释

stepper.c st.step_count-- #574

(steppper.c line404 )

st.step_count–; // 递减步进事件计数
if (st.step_count == 0) {
// 段已完成。丢弃当前段并推进段索引
。st.exec_segment = NULL;
if ( ++segment_buffer_tail == SEGMENT_BUFFER_SIZE) { segment_buffer_tail = 0; }
}
“——————————–
应修改为:??????????????

如果(st.step_count > 0){
st.step_count–;
}
…………
……

stepper.c st.step_count-- #574
成员

@younew: 没有。按原样工作正常。

喜欢 (0)