winder / Universal-G-Code-Sender

A cross-platform G-Code sender for GRBL, Smoothieware, TinyG and G2core.
http://winder.github.io/ugs_website/
GNU General Public License v3.0
1.86k stars 757 forks source link

Bugfix for handling gcode state G38 #2422

Closed breiler closed 6 months ago

breiler commented 6 months ago

UGS parser expects G38 to have an axis parameter. However, if the controller is in a G38 modal state and a gcode parser state command is issued these commands can't be applied to the gcode state:

[GC:G38.2 G54 G17 G21 G90 G94 M5 M9 T0 F100 S0]

With this fix, the internal parser will not make it mandatory to have an axis to a probe command, leaving the command validation to the controller.

Fix for #2386