Browse Source

Merge pull request #9208 from benlye/benlye-m73

[2.0.x] Allow M73 without SDSUPPORT
Scott Lahteine 7 years ago
parent
commit
7a381366aa
No account linked to committer's email address
46 changed files with 147 additions and 151 deletions
  1. 3
    3
      Marlin/Configuration_adv.h
  2. 3
    3
      Marlin/src/config/default/Configuration_adv.h
  3. 3
    3
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 3
    3
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 3
    3
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 3
    3
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  7. 3
    3
      Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h
  8. 3
    3
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  9. 3
    3
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  10. 3
    3
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  11. 3
    3
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  12. 3
    3
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  13. 3
    3
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  14. 3
    3
      Marlin/src/config/examples/Creality/Ender/Configuration_adv.h
  15. 3
    3
      Marlin/src/config/examples/Felix/Configuration_adv.h
  16. 3
    3
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  17. 3
    3
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  18. 3
    3
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  19. 3
    3
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  20. 3
    3
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  21. 3
    3
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  22. 3
    3
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  23. 3
    3
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  24. 3
    3
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  25. 3
    3
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  26. 3
    3
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  27. 3
    3
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  28. 3
    3
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  29. 3
    3
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  30. 3
    3
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  31. 3
    3
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  32. 3
    3
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  33. 3
    3
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  34. 3
    3
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  35. 3
    3
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  36. 3
    3
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  37. 3
    3
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  38. 3
    3
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  39. 3
    3
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  40. 3
    3
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  41. 3
    3
      Marlin/src/config/examples/makibox/Configuration_adv.h
  42. 3
    3
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  43. 3
    3
      Marlin/src/config/examples/wt150/Configuration_adv.h
  44. 2
    2
      Marlin/src/inc/SanityCheck.h
  45. 3
    5
      Marlin/src/lcd/ultralcd_impl_DOGM.h
  46. 13
    15
      Marlin/src/lcd/ultralcd_impl_HD44780.h

+ 3
- 3
Marlin/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/default/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h View File

@@ -491,6 +491,9 @@
491 491
 // The timeout (in ms) to return to the status screen from sub-menus
492 492
 //#define LCD_TIMEOUT_TO_STATUS 15000
493 493
 
494
+// Add an 'M73' G-code to set the current percentage
495
+//#define LCD_SET_PROGRESS_MANUALLY
496
+
494 497
 /**
495 498
  * LED Control Menu
496 499
  * Enable this feature to add LED Control to the LCD menu
@@ -581,9 +584,6 @@
581 584
     //#define LCD_PROGRESS_BAR_TEST
582 585
   #endif
583 586
 
584
-  // Add an 'M73' G-code to set the current percentage
585
-  //#define LCD_SET_PROGRESS_MANUALLY
586
-
587 587
   // This allows hosts to request long names for files and folders with M33
588 588
   //#define LONG_FILENAME_HOST_SUPPORT
589 589
 

+ 3
- 3
Marlin/src/config/examples/BIBO/TouchX/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   #define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Creality/Ender/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/MakerParts/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 #define LCD_TIMEOUT_TO_STATUS 30000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   #define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   #define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Malyan/M200/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   #define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -491,6 +491,9 @@
491 491
 // The timeout (in ms) to return to the status screen from sub-menus
492 492
 //#define LCD_TIMEOUT_TO_STATUS 15000
493 493
 
494
+// Add an 'M73' G-code to set the current percentage
495
+//#define LCD_SET_PROGRESS_MANUALLY
496
+
494 497
 /**
495 498
  * LED Control Menu
496 499
  * Enable this feature to add LED Control to the LCD menu
@@ -581,9 +584,6 @@
581 584
     //#define LCD_PROGRESS_BAR_TEST
582 585
   #endif
583 586
 
584
-  // Add an 'M73' G-code to set the current percentage
585
-  //#define LCD_SET_PROGRESS_MANUALLY
586
-
587 587
   // This allows hosts to request long names for files and folders with M33
588 588
   //#define LONG_FILENAME_HOST_SUPPORT
589 589
 

+ 3
- 3
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/TheBorg/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -503,6 +503,9 @@
503 503
 // The timeout (in ms) to return to the status screen from sub-menus
504 504
 //#define LCD_TIMEOUT_TO_STATUS 15000
505 505
 
506
+// Add an 'M73' G-code to set the current percentage
507
+//#define LCD_SET_PROGRESS_MANUALLY
508
+
506 509
 /**
507 510
  * LED Control Menu
508 511
  * Enable this feature to add LED Control to the LCD menu
@@ -593,9 +596,6 @@
593 596
     //#define LCD_PROGRESS_BAR_TEST
594 597
   #endif
595 598
 
596
-  // Add an 'M73' G-code to set the current percentage
597
-  //#define LCD_SET_PROGRESS_MANUALLY
598
-
599 599
   // This allows hosts to request long names for files and folders with M33
600 600
   #define LONG_FILENAME_HOST_SUPPORT
601 601
 

+ 3
- 3
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 #define LCD_TIMEOUT_TO_STATUS 60000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 //#define LCD_TIMEOUT_TO_STATUS 15000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 //#define LCD_TIMEOUT_TO_STATUS 15000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 //#define LCD_TIMEOUT_TO_STATUS 15000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 //#define LCD_TIMEOUT_TO_STATUS 15000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 //#define LCD_TIMEOUT_TO_STATUS 15000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -497,6 +497,9 @@
497 497
 // The timeout (in ms) to return to the status screen from sub-menus
498 498
 //#define LCD_TIMEOUT_TO_STATUS 15000
499 499
 
500
+// Add an 'M73' G-code to set the current percentage
501
+//#define LCD_SET_PROGRESS_MANUALLY
502
+
500 503
 /**
501 504
  * LED Control Menu
502 505
  * Enable this feature to add LED Control to the LCD menu
@@ -587,9 +590,6 @@
587 590
     //#define LCD_PROGRESS_BAR_TEST
588 591
   #endif
589 592
 
590
-  // Add an 'M73' G-code to set the current percentage
591
-  //#define LCD_SET_PROGRESS_MANUALLY
592
-
593 593
   // This allows hosts to request long names for files and folders with M33
594 594
   //#define LONG_FILENAME_HOST_SUPPORT
595 595
 

+ 3
- 3
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -492,6 +492,9 @@
492 492
 // The timeout (in ms) to return to the status screen from sub-menus
493 493
 //#define LCD_TIMEOUT_TO_STATUS 15000
494 494
 
495
+// Add an 'M73' G-code to set the current percentage
496
+//#define LCD_SET_PROGRESS_MANUALLY
497
+
495 498
 /**
496 499
  * LED Control Menu
497 500
  * Enable this feature to add LED Control to the LCD menu
@@ -582,9 +585,6 @@
582 585
     //#define LCD_PROGRESS_BAR_TEST
583 586
   #endif
584 587
 
585
-  // Add an 'M73' G-code to set the current percentage
586
-  //#define LCD_SET_PROGRESS_MANUALLY
587
-
588 588
   // This allows hosts to request long names for files and folders with M33
589 589
   //#define LONG_FILENAME_HOST_SUPPORT
590 590
 

+ 3
- 3
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -490,6 +490,9 @@
490 490
 // The timeout (in ms) to return to the status screen from sub-menus
491 491
 //#define LCD_TIMEOUT_TO_STATUS 15000
492 492
 
493
+// Add an 'M73' G-code to set the current percentage
494
+//#define LCD_SET_PROGRESS_MANUALLY
495
+
493 496
 /**
494 497
  * LED Control Menu
495 498
  * Enable this feature to add LED Control to the LCD menu
@@ -580,9 +583,6 @@
580 583
     //#define LCD_PROGRESS_BAR_TEST
581 584
   #endif
582 585
 
583
-  // Add an 'M73' G-code to set the current percentage
584
-  //#define LCD_SET_PROGRESS_MANUALLY
585
-
586 586
   // This allows hosts to request long names for files and folders with M33
587 587
   //#define LONG_FILENAME_HOST_SUPPORT
588 588
 

+ 3
- 3
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -491,6 +491,9 @@
491 491
 // The timeout (in ms) to return to the status screen from sub-menus
492 492
 //#define LCD_TIMEOUT_TO_STATUS 15000
493 493
 
494
+// Add an 'M73' G-code to set the current percentage
495
+//#define LCD_SET_PROGRESS_MANUALLY
496
+
494 497
 /**
495 498
  * LED Control Menu
496 499
  * Enable this feature to add LED Control to the LCD menu
@@ -581,9 +584,6 @@
581 584
     //#define LCD_PROGRESS_BAR_TEST
582 585
   #endif
583 586
 
584
-  // Add an 'M73' G-code to set the current percentage
585
-  //#define LCD_SET_PROGRESS_MANUALLY
586
-
587 587
   // This allows hosts to request long names for files and folders with M33
588 588
   //#define LONG_FILENAME_HOST_SUPPORT
589 589
 

+ 2
- 2
Marlin/src/inc/SanityCheck.h View File

@@ -327,8 +327,8 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
327 327
  * Progress Bar
328 328
  */
329 329
 #if ENABLED(LCD_PROGRESS_BAR)
330
-  #if DISABLED(SDSUPPORT)
331
-    #error "LCD_PROGRESS_BAR requires SDSUPPORT."
330
+  #if DISABLED(SDSUPPORT) && DISABLED(LCD_SET_PROGRESS_MANUALLY)
331
+    #error "LCD_PROGRESS_BAR requires SDSUPPORT or LCD_SET_PROGRESS_MANUALLY."
332 332
   #elif DISABLED(ULTRA_LCD)
333 333
     #error "LCD_PROGRESS_BAR requires a character LCD."
334 334
   #elif ENABLED(DOGLCD)

+ 3
- 5
Marlin/src/lcd/ultralcd_impl_DOGM.h View File

@@ -580,11 +580,9 @@ static void lcd_implementation_status_screen() {
580 580
   }
581 581
 
582 582
   #if ENABLED(SDSUPPORT)
583
-
584 583
     //
585 584
     // SD Card Symbol
586 585
     //
587
-
588 586
     if (card.isFileOpen() && PAGE_CONTAINS(42 - (TALL_FONT_CORRECTION), 51 - (TALL_FONT_CORRECTION))) {
589 587
       // Upper box
590 588
       u8g.drawBox(42, 42 - (TALL_FONT_CORRECTION), 8, 7);     // 42-48 (or 41-47)
@@ -595,11 +593,12 @@ static void lcd_implementation_status_screen() {
595 593
       // Corner pixel
596 594
       u8g.drawPixel(50, 43 - (TALL_FONT_CORRECTION));         // 43 (or 42)
597 595
     }
596
+  #endif // SDSUPPORT
598 597
 
598
+  #if ENABLED(SDSUPPORT) || ENABLED(LCD_SET_PROGRESS_MANUALLY)
599 599
     //
600 600
     // Progress bar frame
601 601
     //
602
-
603 602
     #define PROGRESS_BAR_X 54
604 603
     #define PROGRESS_BAR_WIDTH (LCD_PIXEL_WIDTH - PROGRESS_BAR_X)
605 604
 
@@ -650,7 +649,6 @@ static void lcd_implementation_status_screen() {
650 649
     #endif
651 650
 
652 651
     if (PAGE_CONTAINS(41, 48)) {
653
-
654 652
       char buffer[10];
655 653
       duration_t elapsed = print_job_timer.duration();
656 654
       bool has_days = (elapsed.value >= 60*60*24L);
@@ -659,7 +657,7 @@ static void lcd_implementation_status_screen() {
659 657
       lcd_print(buffer);
660 658
     }
661 659
 
662
-  #endif
660
+  #endif // SDSUPPORT || LCD_SET_PROGRESS_MANUALLY
663 661
 
664 662
   //
665 663
   // XYZ Coordinates

+ 13
- 15
Marlin/src/lcd/ultralcd_impl_HD44780.h View File

@@ -426,23 +426,21 @@ static void lcd_set_custom_characters(
426 426
           createChar_P(LCD_FEEDRATE_CHAR, feedrate);
427 427
           createChar_P(LCD_CLOCK_CHAR, clock);
428 428
 
429
-          #if ENABLED(SDSUPPORT)
430
-            #if ENABLED(LCD_PROGRESS_BAR)
431
-              if (screen_charset == CHARSET_INFO) { // 3 Progress bar characters for info screen
432
-                for (int16_t i = 3; i--;)
433
-                  createChar_P(LCD_STR_PROGRESS[i], progress[i]);
434
-              }
435
-              else
436
-            #endif
437
-              { // SD Card sub-menu special characters
438
-                createChar_P(LCD_UPLEVEL_CHAR, uplevel);
429
+          #if ENABLED(LCD_PROGRESS_BAR)
430
+            if (screen_charset == CHARSET_INFO) { // 3 Progress bar characters for info screen
431
+              for (int16_t i = 3; i--;)
432
+                createChar_P(LCD_STR_PROGRESS[i], progress[i]);
433
+            }
434
+            else
435
+          #endif
436
+            {
437
+              createChar_P(LCD_UPLEVEL_CHAR, uplevel);
438
+              #if ENABLED(SDSUPPORT)
439
+                // SD Card sub-menu special characters
439 440
                 createChar_P(LCD_STR_REFRESH[0], refresh);
440 441
                 createChar_P(LCD_STR_FOLDER[0], folder);
441
-              }
442
-          #else
443
-            // With no SD support, only need the uplevel character
444
-            createChar_P(LCD_UPLEVEL_CHAR, uplevel);
445
-          #endif
442
+              #endif
443
+            }
446 444
         }
447 445
   }
448 446
 }

Loading…
Cancel
Save