|
@@ -2279,20 +2279,22 @@ void kill_screen(const char* lcd_msg) {
|
2279
|
2279
|
* UBL Load Mesh Command
|
2280
|
2280
|
*/
|
2281
|
2281
|
void _lcd_ubl_load_mesh_cmd() {
|
2282
|
|
- char UBL_LCD_GCODE[10];
|
|
2282
|
+ char UBL_LCD_GCODE[25];
|
2283
|
2283
|
sprintf_P(UBL_LCD_GCODE, PSTR("G29 L%i"), ubl_storage_slot);
|
2284
|
2284
|
lcd_enqueue_command(UBL_LCD_GCODE);
|
2285
|
|
- enqueue_and_echo_commands_P(PSTR("M117 " MSG_MESH_LOADED "."));
|
|
2285
|
+ sprintf_P(UBL_LCD_GCODE, PSTR("M117 " MSG_MESH_LOADED), ubl_storage_slot);
|
|
2286
|
+ lcd_enqueue_command(UBL_LCD_GCODE);
|
2286
|
2287
|
}
|
2287
|
2288
|
|
2288
|
2289
|
/**
|
2289
|
2290
|
* UBL Save Mesh Command
|
2290
|
2291
|
*/
|
2291
|
2292
|
void _lcd_ubl_save_mesh_cmd() {
|
2292
|
|
- char UBL_LCD_GCODE[10];
|
|
2293
|
+ char UBL_LCD_GCODE[25];
|
2293
|
2294
|
sprintf_P(UBL_LCD_GCODE, PSTR("G29 S%i"), ubl_storage_slot);
|
2294
|
2295
|
lcd_enqueue_command(UBL_LCD_GCODE);
|
2295
|
|
- enqueue_and_echo_commands_P(PSTR("M117 " MSG_MESH_SAVED "."));
|
|
2296
|
+ sprintf_P(UBL_LCD_GCODE, PSTR("M117 " MSG_MESH_SAVED), ubl_storage_slot);
|
|
2297
|
+ lcd_enqueue_command(UBL_LCD_GCODE);
|
2296
|
2298
|
}
|
2297
|
2299
|
|
2298
|
2300
|
/**
|