[2.0.x] UBL Mesh Storage Message (#9095)
This commit is contained in:
parent
e180b7a460
commit
f26805e862
@ -2279,20 +2279,22 @@ void kill_screen(const char* lcd_msg) {
|
|||||||
* UBL Load Mesh Command
|
* UBL Load Mesh Command
|
||||||
*/
|
*/
|
||||||
void _lcd_ubl_load_mesh_cmd() {
|
void _lcd_ubl_load_mesh_cmd() {
|
||||||
char UBL_LCD_GCODE[10];
|
char UBL_LCD_GCODE[25];
|
||||||
sprintf_P(UBL_LCD_GCODE, PSTR("G29 L%i"), ubl_storage_slot);
|
sprintf_P(UBL_LCD_GCODE, PSTR("G29 L%i"), ubl_storage_slot);
|
||||||
lcd_enqueue_command(UBL_LCD_GCODE);
|
lcd_enqueue_command(UBL_LCD_GCODE);
|
||||||
enqueue_and_echo_commands_P(PSTR("M117 " MSG_MESH_LOADED "."));
|
sprintf_P(UBL_LCD_GCODE, PSTR("M117 " MSG_MESH_LOADED), ubl_storage_slot);
|
||||||
|
lcd_enqueue_command(UBL_LCD_GCODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* UBL Save Mesh Command
|
* UBL Save Mesh Command
|
||||||
*/
|
*/
|
||||||
void _lcd_ubl_save_mesh_cmd() {
|
void _lcd_ubl_save_mesh_cmd() {
|
||||||
char UBL_LCD_GCODE[10];
|
char UBL_LCD_GCODE[25];
|
||||||
sprintf_P(UBL_LCD_GCODE, PSTR("G29 S%i"), ubl_storage_slot);
|
sprintf_P(UBL_LCD_GCODE, PSTR("G29 S%i"), ubl_storage_slot);
|
||||||
lcd_enqueue_command(UBL_LCD_GCODE);
|
lcd_enqueue_command(UBL_LCD_GCODE);
|
||||||
enqueue_and_echo_commands_P(PSTR("M117 " MSG_MESH_SAVED "."));
|
sprintf_P(UBL_LCD_GCODE, PSTR("M117 " MSG_MESH_SAVED), ubl_storage_slot);
|
||||||
|
lcd_enqueue_command(UBL_LCD_GCODE);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user