New alarm method. Re(re)organized status messages.
- Installed a new 'alarm' method to centralize motion kills across alarm or reset events. Right now, this is controlled by system abort and hard limits. But, in the future, a g-code parser error may call this too as a safety feature. - Re(re)organized status messages to just print all errors, regardless from where it was called. This centralizes them into one place. - Misc messages method installed for any user feedback that is not a confirmation or error. Mainly so that there is a place to perform warnings and such. - New stuff installed and still made the flash size smaller by saving flash space from clearing out repeated '\r\n' pgmstrings. - Fixed a bug where hard limits message would print everytime a system abort was sent.
This commit is contained in:
@ -66,10 +66,10 @@ void settings_init();
|
||||
void settings_dump();
|
||||
|
||||
// Handle settings command
|
||||
int8_t settings_execute_line(char *line);
|
||||
uint8_t settings_execute_line(char *line);
|
||||
|
||||
// A helper method to set new settings from command line
|
||||
int8_t settings_store_setting(int parameter, float value);
|
||||
uint8_t settings_store_setting(int parameter, float value);
|
||||
|
||||
// int8_t settings_execute_startup();
|
||||
|
||||
|
Reference in New Issue
Block a user