Merge branch 'Development' into optimize_menu_code
Get upstream changes
This commit is contained in:
		| @@ -61,7 +61,9 @@ static void lcd_control_volumetric_menu(); | ||||
| #ifdef DOGLCD | ||||
| static void lcd_set_contrast(); | ||||
| #endif | ||||
| #ifdef FWRETRACT | ||||
| static void lcd_control_retract_menu(); | ||||
| #endif | ||||
| static void lcd_sdcard_menu(); | ||||
|  | ||||
| #ifdef DELTA_CALIBRATION_MENU | ||||
| @@ -367,16 +369,11 @@ static void lcd_sdcard_pause() { card.pauseSDPrint(); } | ||||
| static void lcd_sdcard_resume() { card.startFileprint(); } | ||||
|  | ||||
| static void lcd_sdcard_stop() { | ||||
|   quickStop(); | ||||
|   card.sdprinting = false; | ||||
|   card.closefile(); | ||||
|   quickStop(); | ||||
|   if (SD_FINISHED_STEPPERRELEASE) { | ||||
|     enquecommands_P(PSTR(SD_FINISHED_RELEASECOMMAND)); | ||||
|   } | ||||
|   autotempShutdown(); | ||||
|  | ||||
|   cancel_heatup = true; | ||||
|  | ||||
|   lcd_setstatus(MSG_PRINT_ABORTED); | ||||
| } | ||||
|  | ||||
| @@ -422,7 +419,7 @@ static void lcd_main_menu() { | ||||
|   END_MENU(); | ||||
| } | ||||
|  | ||||
| #ifdef SDSUPPORT | ||||
| #if defined( SDSUPPORT ) && defined( MENU_ADDAUTOSTART ) | ||||
|   static void lcd_autostart_sd() { | ||||
|     card.autostart_index = 0; | ||||
|     card.setroot(); | ||||
| @@ -607,10 +604,8 @@ void lcd_cooldown() { | ||||
| static void lcd_prepare_menu() { | ||||
|   START_MENU(); | ||||
|   MENU_ITEM(back, MSG_MAIN, lcd_main_menu); | ||||
|   #ifdef SDSUPPORT | ||||
|     #ifdef MENU_ADDAUTOSTART | ||||
|       MENU_ITEM(function, MSG_AUTOSTART, lcd_autostart_sd); | ||||
|     #endif | ||||
|   #if defined( SDSUPPORT ) && defined( MENU_ADDAUTOSTART ) | ||||
|     MENU_ITEM(function, MSG_AUTOSTART, lcd_autostart_sd); | ||||
|   #endif | ||||
|   MENU_ITEM(gcode, MSG_DISABLE_STEPPERS, PSTR("M84")); | ||||
|   MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28")); | ||||
| @@ -1266,7 +1261,7 @@ void lcd_update() { | ||||
|     } | ||||
|   #endif//CARDINSERTED | ||||
|  | ||||
|   long ms = millis(); | ||||
|   uint32_t ms = millis(); | ||||
|   if (ms > lcd_next_update_millis) { | ||||
|  | ||||
|     #ifdef ULTIPANEL | ||||
|   | ||||
		Reference in New Issue
	
	Block a user