mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-15 10:46:18 +00:00
🩹 Fix printer_busy, M73
Followup to "Misc. LCD cleanup"
This commit is contained in:
parent
cb31a99319
commit
b934a4c612
4 changed files with 7 additions and 1 deletions
|
@ -1652,8 +1652,8 @@ void DWIN_Print_Aborted() {
|
|||
}
|
||||
|
||||
// Progress Bar update
|
||||
if (parser.seenval('P')) _percent_done = parser.byteval('P');
|
||||
void DWIN_M73() {
|
||||
if (parser.seenval('P')) _percent_done = parser.byteval('P');
|
||||
if (parser.seenval('R')) {
|
||||
_remain_time = parser.ulongval('R') * 60;
|
||||
HMI_flag.remain_flag = true;
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#if HAS_MARLINUI_MENU
|
||||
|
||||
#include "menu_item.h"
|
||||
#include "../../MarlinCore.h"
|
||||
#include "../../module/planner.h"
|
||||
|
||||
#if DISABLED(NO_VOLUMETRICS)
|
||||
|
|
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "menu_item.h"
|
||||
|
||||
#include "../../MarlinCore.h"
|
||||
|
||||
#if HAS_FILAMENT_SENSOR
|
||||
#include "../../feature/runout.h"
|
||||
#endif
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
#if HAS_FILAMENT_SENSOR
|
||||
#include "../../feature/runout.h"
|
||||
#endif
|
||||
#if ENABLED(FILAMENT_LOAD_UNLOAD_GCODES)
|
||||
#include "../../MarlinCore.h"
|
||||
#endif
|
||||
|
||||
//
|
||||
// Change Filament > Change/Unload/Load Filament
|
||||
|
|
Loading…
Add table
Reference in a new issue