Quellcode durchsuchen

Merge pull request #7410 from benlye/user-script-feedback

Make audible user script feedback optional
Scott Lahteine vor 7 Jahren
Ursprung
Commit
dd841a3675
28 geänderte Dateien mit 30 neuen und 1 gelöschten Zeilen
  1. 1
    0
      Marlin/Configuration_adv.h
  2. 1
    0
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  3. 1
    0
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  4. 1
    0
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  5. 1
    0
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  6. 1
    0
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  7. 1
    0
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  8. 1
    0
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  9. 1
    0
      Marlin/example_configurations/Felix/Configuration_adv.h
  10. 1
    0
      Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h
  11. 1
    0
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  12. 1
    0
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  13. 1
    0
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  14. 1
    0
      Marlin/example_configurations/SCARA/Configuration_adv.h
  15. 1
    0
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  16. 1
    0
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  17. 1
    0
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  18. 1
    0
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  19. 1
    0
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  20. 1
    0
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  21. 1
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  22. 1
    0
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  23. 1
    0
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  24. 1
    0
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  25. 1
    0
      Marlin/example_configurations/makibox/Configuration_adv.h
  26. 1
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  27. 1
    0
      Marlin/example_configurations/wt150/Configuration_adv.h
  28. 3
    1
      Marlin/ultralcd.cpp

+ 1
- 0
Marlin/Configuration_adv.h Datei anzeigen

1262
 //#define CUSTOM_USER_MENUS
1262
 //#define CUSTOM_USER_MENUS
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1265
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1265
 
1266
 
1266
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_GCODE_1 "G28\nG29 W"
1268
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Anet/A6/Configuration_adv.h Datei anzeigen

1262
 //#define CUSTOM_USER_MENUS
1262
 //#define CUSTOM_USER_MENUS
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1265
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1265
 
1266
 
1266
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_GCODE_1 "G28\nG29 W"
1268
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Anet/A8/Configuration_adv.h Datei anzeigen

1262
 //#define CUSTOM_USER_MENUS
1262
 //#define CUSTOM_USER_MENUS
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1265
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1265
 
1266
 
1266
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_GCODE_1 "G28\nG29 W"
1268
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h Datei anzeigen

1238
 //#define CUSTOM_USER_MENUS
1238
 //#define CUSTOM_USER_MENUS
1239
 #if ENABLED(CUSTOM_USER_MENUS)
1239
 #if ENABLED(CUSTOM_USER_MENUS)
1240
   #define USER_SCRIPT_DONE "M117 User Script Done"
1240
   #define USER_SCRIPT_DONE "M117 User Script Done"
1241
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1241
 
1242
 
1242
   #define USER_DESC_1 "Home & UBL Info"
1243
   #define USER_DESC_1 "Home & UBL Info"
1243
   #define USER_GCODE_1 "G28\nG29 W"
1244
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Cartesio/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Felix/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h Datei anzeigen

1268
 //#define CUSTOM_USER_MENUS
1268
 //#define CUSTOM_USER_MENUS
1269
 #if ENABLED(CUSTOM_USER_MENUS)
1269
 #if ENABLED(CUSTOM_USER_MENUS)
1270
   #define USER_SCRIPT_DONE "M117 User Script Done"
1270
   #define USER_SCRIPT_DONE "M117 User Script Done"
1271
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1271
 
1272
 
1272
   #define USER_DESC_1 "Home & UBL Info"
1273
   #define USER_DESC_1 "Home & UBL Info"
1273
   #define USER_GCODE_1 "G28\nG29 W"
1274
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h Datei anzeigen

1251
 //#define CUSTOM_USER_MENUS
1251
 //#define CUSTOM_USER_MENUS
1252
 #if ENABLED(CUSTOM_USER_MENUS)
1252
 #if ENABLED(CUSTOM_USER_MENUS)
1253
   #define USER_SCRIPT_DONE "M117 User Script Done"
1253
   #define USER_SCRIPT_DONE "M117 User Script Done"
1254
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1254
 
1255
 
1255
   #define USER_DESC_1 "Home & UBL Info"
1256
   #define USER_DESC_1 "Home & UBL Info"
1256
   #define USER_GCODE_1 "G28\nG29 W"
1257
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Malyan/M150/Configuration_adv.h Datei anzeigen

1262
 //#define CUSTOM_USER_MENUS
1262
 //#define CUSTOM_USER_MENUS
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1265
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1265
 
1266
 
1266
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_GCODE_1 "G28\nG29 W"
1268
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/RigidBot/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/SCARA/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/TinyBoy2/Configuration_adv.h Datei anzeigen

1258
 //#define CUSTOM_USER_MENUS
1258
 //#define CUSTOM_USER_MENUS
1259
 #if ENABLED(CUSTOM_USER_MENUS)
1259
 #if ENABLED(CUSTOM_USER_MENUS)
1260
   #define USER_SCRIPT_DONE "M117 User Script Done"
1260
   #define USER_SCRIPT_DONE "M117 User Script Done"
1261
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1261
 
1262
 
1262
   #define USER_DESC_1 "Home & UBL Info"
1263
   #define USER_DESC_1 "Home & UBL Info"
1263
   #define USER_GCODE_1 "G28\nG29 W"
1264
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h Datei anzeigen

1268
 //#define CUSTOM_USER_MENUS
1268
 //#define CUSTOM_USER_MENUS
1269
 #if ENABLED(CUSTOM_USER_MENUS)
1269
 #if ENABLED(CUSTOM_USER_MENUS)
1270
   #define USER_SCRIPT_DONE "M117 User Script Done"
1270
   #define USER_SCRIPT_DONE "M117 User Script Done"
1271
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1271
 
1272
 
1272
   #define USER_DESC_1 "Home & UBL Info"
1273
   #define USER_DESC_1 "Home & UBL Info"
1273
   #define USER_GCODE_1 "G28\nG29 W"
1274
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h Datei anzeigen

1260
 //#define CUSTOM_USER_MENUS
1260
 //#define CUSTOM_USER_MENUS
1261
 #if ENABLED(CUSTOM_USER_MENUS)
1261
 #if ENABLED(CUSTOM_USER_MENUS)
1262
   #define USER_SCRIPT_DONE "M117 User Script Done"
1262
   #define USER_SCRIPT_DONE "M117 User Script Done"
1263
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1263
 
1264
 
1264
   #define USER_DESC_1 "Home & UBL Info"
1265
   #define USER_DESC_1 "Home & UBL Info"
1265
   #define USER_GCODE_1 "G28\nG29 W"
1266
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h Datei anzeigen

1259
 //#define CUSTOM_USER_MENUS
1259
 //#define CUSTOM_USER_MENUS
1260
 #if ENABLED(CUSTOM_USER_MENUS)
1260
 #if ENABLED(CUSTOM_USER_MENUS)
1261
   #define USER_SCRIPT_DONE "M117 User Script Done"
1261
   #define USER_SCRIPT_DONE "M117 User Script Done"
1262
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1262
 
1263
 
1263
   #define USER_DESC_1 "Home & UBL Info"
1264
   #define USER_DESC_1 "Home & UBL Info"
1264
   #define USER_GCODE_1 "G28\nG29 W"
1265
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/delta/generic/Configuration_adv.h Datei anzeigen

1257
 //#define CUSTOM_USER_MENUS
1257
 //#define CUSTOM_USER_MENUS
1258
 #if ENABLED(CUSTOM_USER_MENUS)
1258
 #if ENABLED(CUSTOM_USER_MENUS)
1259
   #define USER_SCRIPT_DONE "M117 User Script Done"
1259
   #define USER_SCRIPT_DONE "M117 User Script Done"
1260
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1260
 
1261
 
1261
   #define USER_DESC_1 "Home & UBL Info"
1262
   #define USER_DESC_1 "Home & UBL Info"
1262
   #define USER_GCODE_1 "G28\nG29 W"
1263
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Datei anzeigen

1257
 //#define CUSTOM_USER_MENUS
1257
 //#define CUSTOM_USER_MENUS
1258
 #if ENABLED(CUSTOM_USER_MENUS)
1258
 #if ENABLED(CUSTOM_USER_MENUS)
1259
   #define USER_SCRIPT_DONE "M117 User Script Done"
1259
   #define USER_SCRIPT_DONE "M117 User Script Done"
1260
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1260
 
1261
 
1261
   #define USER_DESC_1 "Home & UBL Info"
1262
   #define USER_DESC_1 "Home & UBL Info"
1262
   #define USER_GCODE_1 "G28\nG29 W"
1263
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Datei anzeigen

1262
 //#define CUSTOM_USER_MENUS
1262
 //#define CUSTOM_USER_MENUS
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1265
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1265
 
1266
 
1266
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_GCODE_1 "G28\nG29 W"
1268
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Datei anzeigen

1257
 //#define CUSTOM_USER_MENUS
1257
 //#define CUSTOM_USER_MENUS
1258
 #if ENABLED(CUSTOM_USER_MENUS)
1258
 #if ENABLED(CUSTOM_USER_MENUS)
1259
   #define USER_SCRIPT_DONE "M117 User Script Done"
1259
   #define USER_SCRIPT_DONE "M117 User Script Done"
1260
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1260
 
1261
 
1261
   #define USER_DESC_1 "Home & UBL Info"
1262
   #define USER_DESC_1 "Home & UBL Info"
1262
   #define USER_GCODE_1 "G28\nG29 W"
1263
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h Datei anzeigen

1264
 //#define CUSTOM_USER_MENUS
1264
 //#define CUSTOM_USER_MENUS
1265
 #if ENABLED(CUSTOM_USER_MENUS)
1265
 #if ENABLED(CUSTOM_USER_MENUS)
1266
   #define USER_SCRIPT_DONE "M117 User Script Done"
1266
   #define USER_SCRIPT_DONE "M117 User Script Done"
1267
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1267
 
1268
 
1268
   #define USER_DESC_1 "Home & UBL Info"
1269
   #define USER_DESC_1 "Home & UBL Info"
1269
   #define USER_GCODE_1 "G28\nG29 W"
1270
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/makibox/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Datei anzeigen

1255
 //#define CUSTOM_USER_MENUS
1255
 //#define CUSTOM_USER_MENUS
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1256
 #if ENABLED(CUSTOM_USER_MENUS)
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1257
   #define USER_SCRIPT_DONE "M117 User Script Done"
1258
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1258
 
1259
 
1259
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_DESC_1 "Home & UBL Info"
1260
   #define USER_GCODE_1 "G28\nG29 W"
1261
   #define USER_GCODE_1 "G28\nG29 W"

+ 1
- 0
Marlin/example_configurations/wt150/Configuration_adv.h Datei anzeigen

1262
 //#define CUSTOM_USER_MENUS
1262
 //#define CUSTOM_USER_MENUS
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1263
 #if ENABLED(CUSTOM_USER_MENUS)
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1264
   #define USER_SCRIPT_DONE "M117 User Script Done"
1265
+  #define USER_SCRIPT_AUDIBLE_FEEDBACK
1265
 
1266
 
1266
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_DESC_1 "Home & UBL Info"
1267
   #define USER_GCODE_1 "G28\nG29 W"
1268
   #define USER_GCODE_1 "G28\nG29 W"

+ 3
- 1
Marlin/ultralcd.cpp Datei anzeigen

836
 
836
 
837
     void _lcd_user_gcode(const char * const cmd) {
837
     void _lcd_user_gcode(const char * const cmd) {
838
       enqueue_and_echo_commands_P(cmd);
838
       enqueue_and_echo_commands_P(cmd);
839
-      lcd_completion_feedback();
839
+      #if ENABLED(USER_SCRIPT_AUDIBLE_FEEDBACK)
840
+        lcd_completion_feedback();
841
+      #endif
840
     }
842
     }
841
 
843
 
842
     #if defined(USER_DESC_1) && defined(USER_GCODE_1)
844
     #if defined(USER_DESC_1) && defined(USER_GCODE_1)

Laden…
Abbrechen
Speichern