mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-12 01:07:50 -06: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
|
// Progress Bar update
|
||||||
if (parser.seenval('P')) _percent_done = parser.byteval('P');
|
|
||||||
void DWIN_M73() {
|
void DWIN_M73() {
|
||||||
|
if (parser.seenval('P')) _percent_done = parser.byteval('P');
|
||||||
if (parser.seenval('R')) {
|
if (parser.seenval('R')) {
|
||||||
_remain_time = parser.ulongval('R') * 60;
|
_remain_time = parser.ulongval('R') * 60;
|
||||||
HMI_flag.remain_flag = true;
|
HMI_flag.remain_flag = true;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#if HAS_MARLINUI_MENU
|
#if HAS_MARLINUI_MENU
|
||||||
|
|
||||||
#include "menu_item.h"
|
#include "menu_item.h"
|
||||||
|
#include "../../MarlinCore.h"
|
||||||
#include "../../module/planner.h"
|
#include "../../module/planner.h"
|
||||||
|
|
||||||
#if DISABLED(NO_VOLUMETRICS)
|
#if DISABLED(NO_VOLUMETRICS)
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
#include "menu_item.h"
|
#include "menu_item.h"
|
||||||
|
|
||||||
|
#include "../../MarlinCore.h"
|
||||||
|
|
||||||
#if HAS_FILAMENT_SENSOR
|
#if HAS_FILAMENT_SENSOR
|
||||||
#include "../../feature/runout.h"
|
#include "../../feature/runout.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
#if HAS_FILAMENT_SENSOR
|
#if HAS_FILAMENT_SENSOR
|
||||||
#include "../../feature/runout.h"
|
#include "../../feature/runout.h"
|
||||||
#endif
|
#endif
|
||||||
|
#if ENABLED(FILAMENT_LOAD_UNLOAD_GCODES)
|
||||||
|
#include "../../MarlinCore.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Change Filament > Change/Unload/Load Filament
|
// Change Filament > Change/Unload/Load Filament
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue