Browse Source

Confirm before starting SD print (#13616)

Scott Lahteine 6 years ago
parent
commit
9abe9aff56
No account linked to committer's email address
87 changed files with 276 additions and 22 deletions
  1. 2
    0
      Marlin/Configuration_adv.h
  2. 1
    1
      Marlin/src/inc/Conditionals_post.h
  3. 10
    0
      Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp
  4. 1
    1
      Marlin/src/lcd/dogm/u8g_fontutf8.cpp
  5. 21
    0
      Marlin/src/lcd/dogm/ultralcd_DOGM.cpp
  6. 2
    2
      Marlin/src/lcd/fontutils.cpp
  7. 15
    0
      Marlin/src/lcd/language/language_en.h
  8. 1
    2
      Marlin/src/lcd/menu/game/game.cpp
  9. 8
    0
      Marlin/src/lcd/menu/menu.cpp
  10. 5
    0
      Marlin/src/lcd/menu/menu.h
  11. 29
    3
      Marlin/src/lcd/menu/menu_sdcard.cpp
  12. 19
    1
      Marlin/src/lcd/ultralcd.cpp
  13. 14
    12
      Marlin/src/lcd/ultralcd.h
  14. 2
    0
      config/default/Configuration_adv.h
  15. 2
    0
      config/examples/3DFabXYZ/Migbot/Configuration_adv.h
  16. 2
    0
      config/examples/AlephObjects/TAZ4/Configuration_adv.h
  17. 2
    0
      config/examples/AliExpress/UM2pExt/Configuration_adv.h
  18. 2
    0
      config/examples/Anet/A2/Configuration_adv.h
  19. 2
    0
      config/examples/Anet/A2plus/Configuration_adv.h
  20. 2
    0
      config/examples/Anet/A6/Configuration_adv.h
  21. 2
    0
      config/examples/Anet/A8/Configuration_adv.h
  22. 2
    0
      config/examples/AnyCubic/i3/Configuration_adv.h
  23. 2
    0
      config/examples/ArmEd/Configuration_adv.h
  24. 2
    0
      config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  25. 2
    0
      config/examples/BIBO/TouchX/default/Configuration_adv.h
  26. 2
    0
      config/examples/BQ/Hephestos/Configuration_adv.h
  27. 2
    0
      config/examples/BQ/Hephestos_2/Configuration_adv.h
  28. 2
    0
      config/examples/BQ/WITBOX/Configuration_adv.h
  29. 2
    0
      config/examples/Cartesio/Configuration_adv.h
  30. 2
    0
      config/examples/Creality/CR-10/Configuration_adv.h
  31. 2
    0
      config/examples/Creality/CR-10S/Configuration_adv.h
  32. 2
    0
      config/examples/Creality/CR-10_5S/Configuration_adv.h
  33. 2
    0
      config/examples/Creality/CR-10mini/Configuration_adv.h
  34. 2
    0
      config/examples/Creality/CR-8/Configuration_adv.h
  35. 2
    0
      config/examples/Creality/Ender-2/Configuration_adv.h
  36. 2
    0
      config/examples/Creality/Ender-3/Configuration_adv.h
  37. 2
    0
      config/examples/Creality/Ender-4/Configuration_adv.h
  38. 2
    0
      config/examples/Einstart-S/Configuration_adv.h
  39. 2
    0
      config/examples/Felix/Configuration_adv.h
  40. 2
    0
      config/examples/FlashForge/CreatorPro/Configuration_adv.h
  41. 2
    0
      config/examples/FolgerTech/i3-2020/Configuration_adv.h
  42. 2
    0
      config/examples/Formbot/Raptor/Configuration_adv.h
  43. 2
    0
      config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  44. 2
    0
      config/examples/Formbot/T_Rex_3/Configuration_adv.h
  45. 2
    0
      config/examples/Geeetech/A10M/Configuration_adv.h
  46. 2
    0
      config/examples/Geeetech/A20M/Configuration_adv.h
  47. 2
    0
      config/examples/Geeetech/MeCreator2/Configuration_adv.h
  48. 2
    0
      config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  49. 2
    0
      config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  50. 2
    0
      config/examples/Infitary/i3-M508/Configuration_adv.h
  51. 2
    0
      config/examples/JGAurora/A5/Configuration_adv.h
  52. 2
    0
      config/examples/MakerParts/Configuration_adv.h
  53. 2
    0
      config/examples/Malyan/M150/Configuration_adv.h
  54. 2
    0
      config/examples/Malyan/M200/Configuration_adv.h
  55. 2
    0
      config/examples/Micromake/C1/enhanced/Configuration_adv.h
  56. 2
    0
      config/examples/Mks/Robin/Configuration_adv.h
  57. 2
    0
      config/examples/Mks/Sbase/Configuration_adv.h
  58. 2
    0
      config/examples/RapideLite/RL200/Configuration_adv.h
  59. 2
    0
      config/examples/RigidBot/Configuration_adv.h
  60. 2
    0
      config/examples/SCARA/Configuration_adv.h
  61. 2
    0
      config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h
  62. 2
    0
      config/examples/Sanguinololu/Configuration_adv.h
  63. 2
    0
      config/examples/TheBorg/Configuration_adv.h
  64. 2
    0
      config/examples/TinyBoy2/Configuration_adv.h
  65. 2
    0
      config/examples/Tronxy/X3A/Configuration_adv.h
  66. 2
    0
      config/examples/Tronxy/X5S-2E/Configuration_adv.h
  67. 2
    0
      config/examples/UltiMachine/Archim1/Configuration_adv.h
  68. 2
    0
      config/examples/UltiMachine/Archim2/Configuration_adv.h
  69. 2
    0
      config/examples/VORONDesign/Configuration_adv.h
  70. 2
    0
      config/examples/Velleman/K8200/Configuration_adv.h
  71. 2
    0
      config/examples/Velleman/K8400/Configuration_adv.h
  72. 2
    0
      config/examples/WASP/PowerWASP/Configuration_adv.h
  73. 2
    0
      config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  74. 2
    0
      config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  75. 2
    0
      config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  76. 2
    0
      config/examples/delta/FLSUN/kossel/Configuration_adv.h
  77. 2
    0
      config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  78. 2
    0
      config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  79. 2
    0
      config/examples/delta/MKS/SBASE/Configuration_adv.h
  80. 2
    0
      config/examples/delta/Tevo Little Monster/Configuration_adv.h
  81. 2
    0
      config/examples/delta/generic/Configuration_adv.h
  82. 2
    0
      config/examples/delta/kossel_mini/Configuration_adv.h
  83. 2
    0
      config/examples/delta/kossel_xl/Configuration_adv.h
  84. 2
    0
      config/examples/gCreate/gMax1.5+/Configuration_adv.h
  85. 2
    0
      config/examples/makibox/Configuration_adv.h
  86. 2
    0
      config/examples/tvrrug/Round2/Configuration_adv.h
  87. 2
    0
      config/examples/wt150/Configuration_adv.h

+ 2
- 0
Marlin/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 1
- 1
Marlin/src/inc/Conditionals_post.h View File

@@ -1679,7 +1679,7 @@
1679 1679
 // Get LCD character width/height, which may be overridden by pins, configs, etc.
1680 1680
 #ifndef LCD_WIDTH
1681 1681
   #if HAS_GRAPHICAL_LCD
1682
-    #define LCD_WIDTH 22
1682
+    #define LCD_WIDTH 21
1683 1683
   #elif ENABLED(ULTIPANEL)
1684 1684
     #define LCD_WIDTH 20
1685 1685
   #elif HAS_SPI_LCD

+ 10
- 0
Marlin/src/lcd/HD44780/ultralcd_HD44780.cpp View File

@@ -1037,6 +1037,16 @@ void MarlinUI::draw_status_screen() {
1037 1037
     }
1038 1038
   }
1039 1039
 
1040
+  void draw_select_screen(PGM_P const yes, PGM_P const no, const bool yesno, PGM_P const pref, const char * const string, PGM_P const suff) {
1041
+    SETCURSOR(0, 0); lcd_put_u8str_P(pref);
1042
+    if (string) wrap_string(1, string);
1043
+    if (suff) lcd_put_u8str_P(suff);
1044
+    SETCURSOR(0, LCD_HEIGHT - 1);
1045
+    lcd_put_wchar(yesno ? ' ' : '['); lcd_put_u8str_P(no); lcd_put_wchar(yesno ? ' ' : ']');
1046
+    SETCURSOR_RJ(utf8_strlen_P(yes) + 2, LCD_HEIGHT - 1);
1047
+    lcd_put_wchar(yesno ? '[' : ' '); lcd_put_u8str_P(yes); lcd_put_wchar(yesno ? ']' : ' ');
1048
+  }
1049
+
1040 1050
   #if ENABLED(SDSUPPORT)
1041 1051
 
1042 1052
     void draw_sd_menu_item(const bool sel, const uint8_t row, PGM_P const pstr, CardReader &theCard, const bool isDir) {

+ 1
- 1
Marlin/src/lcd/dogm/u8g_fontutf8.cpp View File

@@ -97,7 +97,7 @@ static void fontgroup_drawwchar(font_group_t *group, const font_t *fnt_default,
97 97
  * @param utf8_msg : the UTF-8 string
98 98
  * @param cb_read_byte : how to read the utf8_msg, from RAM or ROM (call read_byte_ram or pgm_read_byte)
99 99
  * @param userdata : User's data
100
- * @param cb_draw_ram : the callback function of userdata to draw a !RAM! string (actural it is to draw a one byte string in RAM)
100
+ * @param cb_draw_ram : the callback function of userdata to draw a !RAM! string (actually it is to draw a one byte string in RAM)
101 101
  *
102 102
  * @return N/A
103 103
  *

+ 21
- 0
Marlin/src/lcd/dogm/ultralcd_DOGM.cpp View File

@@ -401,6 +401,27 @@ void MarlinUI::clear_lcd() { } // Automatically cleared by Picture Loop
401 401
     }
402 402
   }
403 403
 
404
+  inline void draw_boxed_string(const uint8_t x, const uint8_t y, PGM_P const pstr, const bool inv) {
405
+    const uint8_t len = utf8_strlen_P(pstr), bw = len * (MENU_FONT_WIDTH),
406
+                  bx = x * (MENU_FONT_WIDTH), by = (y + 1) * (MENU_FONT_HEIGHT);
407
+    if (inv) {
408
+      u8g.setColorIndex(1);
409
+      u8g.drawBox(bx - 1, by - (MENU_FONT_ASCENT) + 1, bw + 2, MENU_FONT_HEIGHT - 1);
410
+      u8g.setColorIndex(0);
411
+    }
412
+    lcd_moveto(bx, by);
413
+    lcd_put_u8str_P(pstr);
414
+    if (inv) u8g.setColorIndex(1);
415
+  }
416
+
417
+  void draw_select_screen(PGM_P const yes, PGM_P const no, const bool yesno, PGM_P const pref, const char * const string, PGM_P const suff) {
418
+    SETCURSOR(0, 0); lcd_put_u8str_P(pref);
419
+    if (string) wrap_string(1, string);
420
+    if (suff) lcd_put_u8str_P(suff);
421
+    draw_boxed_string(1, LCD_HEIGHT - 1, no, !yesno);
422
+    draw_boxed_string(LCD_WIDTH - (utf8_strlen_P(yes) + 1), LCD_HEIGHT - 1, yes, yesno);
423
+  }
424
+
404 425
   #if ENABLED(SDSUPPORT)
405 426
 
406 427
     void draw_sd_menu_item(const bool sel, const uint8_t row, PGM_P const pstr, CardReader &theCard, const bool isDir) {

+ 2
- 2
Marlin/src/lcd/fontutils.cpp View File

@@ -10,8 +10,8 @@
10 10
 #include "../inc/MarlinConfig.h"
11 11
 
12 12
 #if ENABLED(ULTRA_LCD)
13
-#include "ultralcd.h"
14
-#include "../Marlin.h"
13
+  #include "ultralcd.h"
14
+  #include "../Marlin.h"
15 15
 #endif
16 16
 
17 17
 #include "fontutils.h"

+ 15
- 0
Marlin/src/lcd/language/language_en.h View File

@@ -52,6 +52,12 @@
52 52
 #ifndef WELCOME_MSG
53 53
   #define WELCOME_MSG                         MACHINE_NAME _UxGT(" Ready.")
54 54
 #endif
55
+#ifndef MSG_YES
56
+  #define MSG_YES                             _UxGT("YES")
57
+#endif
58
+#ifndef MSG_NO
59
+  #define MSG_NO                              _UxGT("NO")
60
+#endif
55 61
 #ifndef MSG_BACK
56 62
   #define MSG_BACK                            _UxGT("Back")
57 63
 #endif
@@ -744,6 +750,15 @@
744 750
 #ifndef MSG_TUNE
745 751
   #define MSG_TUNE                            _UxGT("Tune")
746 752
 #endif
753
+#ifndef MSG_START_PRINT
754
+  #define MSG_START_PRINT                     _UxGT("Start print")
755
+#endif
756
+#ifndef MSG_BUTTON_PRINT
757
+  #define MSG_BUTTON_PRINT                    _UxGT("Print")
758
+#endif
759
+#ifndef MSG_BUTTON_CANCEL
760
+  #define MSG_BUTTON_CANCEL                   _UxGT("Cancel")
761
+#endif
747 762
 #ifndef MSG_PAUSE_PRINT
748 763
   #define MSG_PAUSE_PRINT                     _UxGT("Pause print")
749 764
 #endif

+ 1
- 2
Marlin/src/lcd/menu/game/game.cpp View File

@@ -62,8 +62,7 @@ void MarlinGame::init_game(const uint8_t init_state, const screenFunc_t screen)
62 62
 }
63 63
 
64 64
 void MarlinGame::exit_game() {
65
-  ui.goto_previous_screen();
66
-  ui.defer_status_screen(false);
65
+  ui.goto_previous_screen_no_defer();
67 66
 }
68 67
 
69 68
 #endif // HAS_GAMES

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

@@ -436,4 +436,12 @@ void _lcd_draw_homing() {
436 436
   void _lcd_toggle_bed_leveling() { set_bed_leveling_enabled(!planner.leveling_active); }
437 437
 #endif
438 438
 
439
+void do_select_screen(PGM_P const yes, PGM_P const no, bool &yesno, PGM_P const pref, const char * const string, PGM_P const suff) {
440
+  if (ui.encoderPosition) {
441
+    yesno = int32_t(ui.encoderPosition) > 0;
442
+    ui.encoderPosition = 0;
443
+  }
444
+  draw_select_screen(yes, no, yesno, pref, string, suff);
445
+}
446
+
439 447
 #endif // HAS_LCD_MENU

+ 5
- 0
Marlin/src/lcd/menu/menu.h View File

@@ -64,6 +64,11 @@ DECLARE_MENU_EDIT_TYPE(uint32_t, long5,       ftostr5rj,       0.01f );   // 123
64 64
 ////////////////////////////////////////////
65 65
 
66 66
 void draw_edit_screen(PGM_P const pstr, const char* const value=NULL);
67
+void draw_select_screen(PGM_P const yes, PGM_P const no, const bool yesno, PGM_P const pref, const char * const string, PGM_P const suff);
68
+void do_select_screen(PGM_P const yes, PGM_P const no, bool &yesno, PGM_P const pref, const char * const string=NULL, PGM_P const suff=NULL);
69
+inline void do_select_screen_yn(bool &yesno, PGM_P const pref, const char * const string, PGM_P const suff) {
70
+  do_select_screen(PSTR(MSG_YES), PSTR(MSG_NO), yesno, pref, string, suff);
71
+}
67 72
 void draw_menu_item(const bool sel, const uint8_t row, PGM_P const pstr, const char pre_char, const char post_char);
68 73
 void draw_menu_item_static(const uint8_t row, PGM_P const pstr, const bool center=true, const bool invert=false, const char *valstr=NULL);
69 74
 void _draw_menu_item_edit(const bool sel, const uint8_t row, PGM_P const pstr, const char* const data, const bool pgm);

+ 29
- 3
Marlin/src/lcd/menu/menu_sdcard.cpp View File

@@ -72,15 +72,41 @@ void lcd_sd_updir() {
72 72
   }
73 73
 #endif
74 74
 
75
+inline void sdcard_start_selected_file() {
76
+  card.openAndPrintFile(card.filename);
77
+  ui.return_to_status();
78
+  ui.reset_status();
79
+}
80
+
81
+#if ENABLED(SD_MENU_CONFIRM_START)
82
+
83
+  bool do_print_file;
84
+  void menu_sd_confirm() {
85
+    if (ui.should_draw())
86
+      do_select_screen(PSTR(MSG_BUTTON_PRINT), PSTR(MSG_BUTTON_CANCEL), do_print_file, PSTR(MSG_START_PRINT " "), card.longest_filename(), PSTR("?"));
87
+
88
+    if (ui.use_click()) {
89
+      if (do_print_file)
90
+        sdcard_start_selected_file();
91
+      else
92
+        ui.goto_previous_screen();
93
+    }
94
+  }
95
+
96
+#endif
97
+
75 98
 class MenuItem_sdfile {
76 99
   public:
77 100
     static void action(CardReader &theCard) {
78 101
       #if ENABLED(SD_REPRINT_LAST_SELECTED_FILE)
79 102
         last_sdfile_encoderPosition = ui.encoderPosition;  // Save which file was selected for later use
80 103
       #endif
81
-      card.openAndPrintFile(theCard.filename);
82
-      ui.return_to_status();
83
-      ui.reset_status();
104
+      #if ENABLED(SD_MENU_CONFIRM_START)
105
+        do_print_file = false;
106
+        MenuItem_submenu::action(menu_sd_confirm);
107
+      #else
108
+        sdcard_start_selected_file();
109
+      #endif
84 110
     }
85 111
 };
86 112
 

+ 19
- 1
Marlin/src/lcd/ultralcd.cpp View File

@@ -192,7 +192,25 @@ millis_t next_button_update_ms;
192 192
 
193 193
   #endif
194 194
 
195
-#endif
195
+  void wrap_string(uint8_t y, const char * const string) {
196
+    uint8_t x = LCD_WIDTH;
197
+    if (string) {
198
+      uint8_t *p = (uint8_t*)string;
199
+      for (;;) {
200
+        if (x >= LCD_WIDTH) {
201
+          x = 0;
202
+          SETCURSOR(0, y++);
203
+        }
204
+        wchar_t ch;
205
+        p = get_utf8_value_cb(p, read_byte_ram, &ch);
206
+        if (!ch) break;
207
+        lcd_put_wchar(ch);
208
+        x++;
209
+      }
210
+    }
211
+  }
212
+
213
+#endif // HAS_LCD_MENU
196 214
 
197 215
 void MarlinUI::init() {
198 216
 

+ 14
- 12
Marlin/src/lcd/ultralcd.h View File

@@ -56,22 +56,24 @@
56 56
     uint8_t get_ADC_keyValue();
57 57
   #endif
58 58
 
59
-  #if HAS_GRAPHICAL_LCD
60
-    #define SETCURSOR(col, row) lcd_moveto(col * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
61
-    #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_PIXEL_WIDTH - (len) * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
62
-    #define LCDPRINT(p) u8g.print(p)
63
-    #define LCDWRITE(c) u8g.print(c)
64
-  #else
65
-    #define SETCURSOR(col, row) lcd_moveto(col, row)
66
-    #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_WIDTH - (len), row)
67
-    #define LCDPRINT(p) lcd_put_u8str(p)
68
-    #define LCDWRITE(c) lcd_put_wchar(c)
69
-  #endif
70
-
71 59
   #define LCD_UPDATE_INTERVAL 100
72 60
 
73 61
   #if HAS_LCD_MENU
74 62
 
63
+    #if HAS_GRAPHICAL_LCD
64
+      #define SETCURSOR(col, row) lcd_moveto(col * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
65
+      #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_PIXEL_WIDTH - (len) * (MENU_FONT_WIDTH), (row + 1) * (MENU_FONT_HEIGHT))
66
+      #define LCDPRINT(p) u8g.print(p)
67
+      #define LCDWRITE(c) u8g.print(c)
68
+    #else
69
+      #define SETCURSOR(col, row) lcd_moveto(col, row)
70
+      #define SETCURSOR_RJ(len, row) lcd_moveto(LCD_WIDTH - (len), row)
71
+      #define LCDPRINT(p) lcd_put_u8str(p)
72
+      #define LCDWRITE(c) lcd_put_wchar(c)
73
+    #endif
74
+
75
+    void wrap_string(uint8_t y, const char * const string);
76
+
75 77
     #if ENABLED(SDSUPPORT)
76 78
       #include "../sd/cardreader.h"
77 79
     #endif

+ 2
- 0
config/default/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/3DFabXYZ/Migbot/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/AliExpress/UM2pExt/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Anet/A2/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Anet/A2plus/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Anet/A6/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Anet/A8/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/AnyCubic/i3/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/ArmEd/Configuration_adv.h View File

@@ -778,6 +778,8 @@
778 778
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
779 779
   #define SDCARD_RATHERRECENTFIRST
780 780
 
781
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
782
+
781 783
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
782 784
 
783 785
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/BIBO/TouchX/default/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -779,6 +779,8 @@
779 779
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
780 780
   #define SDCARD_RATHERRECENTFIRST
781 781
 
782
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
783
+
782 784
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
783 785
 
784 786
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Cartesio/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/CR-10S/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/CR-10_5S/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/CR-10mini/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/CR-8/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/Ender-2/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/Ender-3/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Creality/Ender-4/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Einstart-S/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Felix/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/FlashForge/CreatorPro/Configuration_adv.h View File

@@ -770,6 +770,8 @@
770 770
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
771 771
   #define SDCARD_RATHERRECENTFIRST
772 772
 
773
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
774
+
773 775
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
774 776
 
775 777
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -778,6 +778,8 @@
778 778
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
779 779
   #define SDCARD_RATHERRECENTFIRST
780 780
 
781
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
782
+
781 783
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
782 784
 
783 785
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

@@ -778,6 +778,8 @@
778 778
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
779 779
   #define SDCARD_RATHERRECENTFIRST
780 780
 
781
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
782
+
781 783
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
782 784
 
783 785
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Geeetech/A10M/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Geeetech/A20M/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/JGAurora/A5/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/MakerParts/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Malyan/M150/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Malyan/M200/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Mks/Robin/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -775,6 +775,8 @@
775 775
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
776 776
   #define SDCARD_RATHERRECENTFIRST
777 777
 
778
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
779
+
778 780
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
779 781
 
780 782
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/RapideLite/RL200/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/RigidBot/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/SCARA/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   //#define EVENT_GCODE_SD_STOP "G28XY"     // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/STM32/Black_STM32F407VET6/Configuration_adv.h View File

@@ -771,6 +771,8 @@
771 771
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
772 772
   #define SDCARD_RATHERRECENTFIRST
773 773
 
774
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
775
+
774 776
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
775 777
 
776 778
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Sanguinololu/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/TheBorg/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/TinyBoy2/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Tronxy/X3A/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Tronxy/X5S-2E/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/UltiMachine/Archim1/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/VORONDesign/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -787,6 +787,8 @@
787 787
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
788 788
   #define SDCARD_RATHERRECENTFIRST
789 789
 
790
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
791
+
790 792
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
791 793
 
792 794
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/WASP/PowerWASP/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/Wanhao/Duplicator 6/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/FLSUN/kossel/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/MKS/SBASE/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/generic/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -772,6 +772,8 @@
772 772
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
773 773
   #define SDCARD_RATHERRECENTFIRST
774 774
 
775
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
776
+
775 777
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
776 778
 
777 779
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -773,6 +773,8 @@
773 773
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
774 774
   #define SDCARD_RATHERRECENTFIRST
775 775
 
776
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
777
+
776 778
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
777 779
 
778 780
   #define EVENT_GCODE_SD_STOP "G28"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/makibox/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -774,6 +774,8 @@
774 774
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
775 775
   #define SDCARD_RATHERRECENTFIRST
776 776
 
777
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
778
+
777 779
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
778 780
 
779 781
   #define EVENT_GCODE_SD_STOP "G27"         // G-code to run on Stop Print (e.g., "G28XY" or "G27")

+ 2
- 0
config/examples/wt150/Configuration_adv.h View File

@@ -775,6 +775,8 @@
775 775
   // Since the FAT gets out of order with usage, SDCARD_SORT_ALPHA is recommended.
776 776
   #define SDCARD_RATHERRECENTFIRST
777 777
 
778
+  #define SD_MENU_CONFIRM_START             // Confirm the selected SD file before printing
779
+
778 780
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
779 781
 
780 782
   #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")

Loading…
Cancel
Save