Browse Source

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

Make audible user script feedback optional
pull/1/head
Scott Lahteine 7 years ago
committed by GitHub
parent
commit
dd841a3675
  1. 1
      Marlin/Configuration_adv.h
  2. 1
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  3. 1
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  4. 1
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  5. 1
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  6. 1
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  7. 1
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  8. 1
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  9. 1
      Marlin/example_configurations/Felix/Configuration_adv.h
  10. 1
      Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h
  11. 1
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  12. 1
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  13. 1
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  14. 1
      Marlin/example_configurations/SCARA/Configuration_adv.h
  15. 1
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  16. 1
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  17. 1
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  18. 1
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  19. 1
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  20. 1
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  21. 1
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  22. 1
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  23. 1
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  24. 1
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  25. 1
      Marlin/example_configurations/makibox/Configuration_adv.h
  26. 1
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  27. 1
      Marlin/example_configurations/wt150/Configuration_adv.h
  28. 4
      Marlin/ultralcd.cpp

1
Marlin/Configuration_adv.h

@ -1262,6 +1262,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Anet/A6/Configuration_adv.h

@ -1262,6 +1262,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Anet/A8/Configuration_adv.h

@ -1262,6 +1262,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h

@ -1238,6 +1238,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Cartesio/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Felix/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Folger Tech/i3-2020/Configuration_adv.h

@ -1268,6 +1268,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h

@ -1251,6 +1251,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Malyan/M150/Configuration_adv.h

@ -1262,6 +1262,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/RigidBot/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/SCARA/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/TinyBoy2/Configuration_adv.h

@ -1258,6 +1258,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h

@ -1268,6 +1268,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h

@ -1260,6 +1260,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h

@ -1259,6 +1259,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/delta/generic/Configuration_adv.h

@ -1257,6 +1257,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h

@ -1257,6 +1257,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h

@ -1262,6 +1262,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h

@ -1257,6 +1257,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h

@ -1264,6 +1264,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/makibox/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h

@ -1255,6 +1255,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

1
Marlin/example_configurations/wt150/Configuration_adv.h

@ -1262,6 +1262,7 @@
//#define CUSTOM_USER_MENUS
#if ENABLED(CUSTOM_USER_MENUS)
#define USER_SCRIPT_DONE "M117 User Script Done"
#define USER_SCRIPT_AUDIBLE_FEEDBACK
#define USER_DESC_1 "Home & UBL Info"
#define USER_GCODE_1 "G28\nG29 W"

4
Marlin/ultralcd.cpp

@ -836,7 +836,9 @@ void kill_screen(const char* lcd_msg) {
void _lcd_user_gcode(const char * const cmd) {
enqueue_and_echo_commands_P(cmd);
lcd_completion_feedback();
#if ENABLED(USER_SCRIPT_AUDIBLE_FEEDBACK)
lcd_completion_feedback();
#endif
}
#if defined(USER_DESC_1) && defined(USER_GCODE_1)

Loading…
Cancel
Save