Tweaks and bug fixes. Increase to 3 startup blocks. Remove purge/added unlock command
- Increased the number of startup blocks to 3 for no good reason other than it doesn't increase the flash size. - Removed the purge buffer command and replaced with an disable homing lock command. - Homing now blocks all g-code commands (not system commands) until the homing cycle has been performed or the disable homing lock is sent. Homing is required upon startup or if Grbl loses it position. This is for safety reasons. - Cleaned up some of the Grbl states and re-organized it to be little more cohesive. - Cleaned up the feedback and status messages to not use so much flash space, as it's a premium now. - Check g-code and dry run switches how are mutually exclusive and can't be enabled when the other is. And automatically resets Grbl when disabled. - Some bug fixes and other minor tweaks.
This commit is contained in:
@ -202,9 +202,8 @@ uint8_t settings_store_global_setting(int parameter, float value) {
|
||||
case 14:
|
||||
if (value) {
|
||||
settings.flags |= BITFLAG_HOMING_ENABLE;
|
||||
sys.state = STATE_LOST;
|
||||
report_feedback_message(MESSAGE_POSITION_LOST);
|
||||
report_feedback_message(MESSAGE_HOMING_ENABLE);
|
||||
sys.state = STATE_ALARM;
|
||||
report_feedback_message(MESSAGE_HOMING_ALARM);
|
||||
} else { settings.flags &= ~BITFLAG_HOMING_ENABLE; }
|
||||
break;
|
||||
case 15: settings.homing_dir_mask = trunc(value); break;
|
||||
|
Reference in New Issue
Block a user