Skip to content

Commit

Permalink
🩹 Fix printer_busy, M73
Browse files Browse the repository at this point in the history
Followup to "Misc. LCD cleanup"
  • Loading branch information
thinkyhead committed May 13, 2022
1 parent cb31a99 commit b934a4c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/e3v2/proui/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions Marlin/src/lcd/menu/menu_advanced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#if HAS_MARLINUI_MENU

#include "menu_item.h"
#include "../../MarlinCore.h"
#include "../../module/planner.h"

#if DISABLED(NO_VOLUMETRICS)
Expand Down
2 changes: 2 additions & 0 deletions Marlin/src/lcd/menu/menu_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@

#include "menu_item.h"

#include "../../MarlinCore.h"

#if HAS_FILAMENT_SENSOR
#include "../../feature/runout.h"
#endif
Expand Down
3 changes: 3 additions & 0 deletions Marlin/src/lcd/menu/menu_filament.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b934a4c

Please sign in to comment.