simplification in gcode.c also thanks to etienne
This commit is contained in:
parent
d914089e91
commit
74dcf58c5c
4
gcode.c
4
gcode.c
@ -229,11 +229,7 @@ uint8_t gc_execute_line(char *line) {
|
||||
if (gc.status_code) { return(gc.status_code); }
|
||||
|
||||
// Update spindle state
|
||||
if (gc.spindle_direction) {
|
||||
spindle_run(gc.spindle_direction, gc.spindle_speed);
|
||||
} else {
|
||||
spindle_stop();
|
||||
}
|
||||
|
||||
// Perform any physical actions
|
||||
switch (next_action) {
|
||||
|
Loading…
Reference in New Issue
Block a user