}
if(c[i] == 'X' - 'A' + 1) { // ^X
- THEKERNEL->set_feed_hold(false); // required to free stuff up
+ //THEKERNEL->set_feed_hold(false); // required to free stuff up
halt_flag = true;
continue;
}
THEKERNEL->set_feed_hold(false);
continue;
}
- if(last_char_was_dollar && (c[i] == 'X' || c[i] == 'H')) {
- // we need to do this otherwise $X/$H won't work if there was a feed hold like when stop is clicked in bCNC
- THEKERNEL->set_feed_hold(false);
- }
}
last_char_was_dollar = (c[i] == '$');
halt_flag = false;
THEKERNEL->call_event(ON_HALT, nullptr);
if(THEKERNEL->is_grbl_mode()) {
- puts("ALARM:Abort during cycle\r\n");
+ puts("ALARM: Abort during cycle\r\n");
} else {
puts("HALTED, M999 or $X to exit HALT state\r\n");
}
}
// if we are in feed hold we do not process anything
- if(THEKERNEL->get_feed_hold()) return;
+ //if(THEKERNEL->get_feed_hold()) return;
if (nl_in_rx) {
string received;