Browse Source

🩹 Fix printer_busy, M73

Followup to "Misc. LCD cleanup"
Scott Lahteine 2 years ago
parent
commit
b934a4c612

+ 1
- 1
Marlin/src/lcd/e3v2/proui/dwin.cpp View File

1652
 }
1652
 }
1653
 
1653
 
1654
 // Progress Bar update
1654
 // Progress Bar update
1655
-  if (parser.seenval('P')) _percent_done = parser.byteval('P');
1656
 void DWIN_M73() {
1655
 void DWIN_M73() {
1656
+  if (parser.seenval('P')) _percent_done = parser.byteval('P');
1657
   if (parser.seenval('R')) {
1657
   if (parser.seenval('R')) {
1658
     _remain_time = parser.ulongval('R') * 60;
1658
     _remain_time = parser.ulongval('R') * 60;
1659
     HMI_flag.remain_flag = true;
1659
     HMI_flag.remain_flag = true;

+ 1
- 0
Marlin/src/lcd/menu/menu_advanced.cpp View File

29
 #if HAS_MARLINUI_MENU
29
 #if HAS_MARLINUI_MENU
30
 
30
 
31
 #include "menu_item.h"
31
 #include "menu_item.h"
32
+#include "../../MarlinCore.h"
32
 #include "../../module/planner.h"
33
 #include "../../module/planner.h"
33
 
34
 
34
 #if DISABLED(NO_VOLUMETRICS)
35
 #if DISABLED(NO_VOLUMETRICS)

+ 2
- 0
Marlin/src/lcd/menu/menu_configuration.cpp View File

30
 
30
 
31
 #include "menu_item.h"
31
 #include "menu_item.h"
32
 
32
 
33
+#include "../../MarlinCore.h"
34
+
33
 #if HAS_FILAMENT_SENSOR
35
 #if HAS_FILAMENT_SENSOR
34
   #include "../../feature/runout.h"
36
   #include "../../feature/runout.h"
35
 #endif
37
 #endif

+ 3
- 0
Marlin/src/lcd/menu/menu_filament.cpp View File

35
 #if HAS_FILAMENT_SENSOR
35
 #if HAS_FILAMENT_SENSOR
36
   #include "../../feature/runout.h"
36
   #include "../../feature/runout.h"
37
 #endif
37
 #endif
38
+#if ENABLED(FILAMENT_LOAD_UNLOAD_GCODES)
39
+  #include "../../MarlinCore.h"
40
+#endif
38
 
41
 
39
 //
42
 //
40
 // Change Filament > Change/Unload/Load Filament
43
 // Change Filament > Change/Unload/Load Filament

Loading…
Cancel
Save