vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.58k stars 538 forks source link

GRBL1: account for Hold sub-states in wait condition #1916

Open tomjnixon opened 4 days ago

tomjnixon commented 4 days ago

This fixes a problem i had in toolChange, where %wait continues too soon after a command which transitions through an idle state, which isn't recognised if it's sent as Hold:0 or Hold:1.

As per my other PR, this caused an issue with uCNC, and might not with other controllers, though GRBL does apparently send Hold:0 and Hold:1.