Skip to content

Commit

Permalink
Update parser.c
Browse files Browse the repository at this point in the history
- fix parser reset states to match RS274 standard
  • Loading branch information
Paciente8159 authored Jul 30, 2020
1 parent 472f572 commit b2948be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uCNC/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -2008,9 +2008,9 @@ void parser_reset(void)
parser_state.groups.coord_system = 0; //G54
parser_state.groups.plane = 0; //G17
parser_state.groups.feed_speed_override = 0; //M48
parser_state.groups.cutter_radius_compensation = 0; //M40
parser_state.groups.distance_mode = 1; //G91
parser_state.groups.feedrate_mode = 1; //G94
parser_state.groups.cutter_radius_compensation = 0; //G40
parser_state.groups.distance_mode = 0; //G90
parser_state.groups.feedrate_mode = 0; //G94
parser_state.groups.tool_length_offset = 0; //G49
#ifdef USE_COOLANT
parser_state.groups.coolant = 0; //M9
Expand Down

0 comments on commit b2948be

Please sign in to comment.