Browse Source

Allow Serial Overrun Protection to be disabled

Scott Lahteine 5 years ago
parent
commit
1fcc13b011
65 changed files with 283 additions and 29 deletions
  1. 4
    0
      Marlin/Configuration_adv.h
  2. 4
    0
      Marlin/src/config/default/Configuration_adv.h
  3. 4
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 4
    0
      Marlin/src/config/examples/Anet/A2/Configuration_adv.h
  5. 4
    0
      Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h
  6. 4
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  7. 4
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  8. 4
    0
      Marlin/src/config/examples/ArmEd/Configuration_adv.h
  9. 4
    0
      Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h
  10. 4
    0
      Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h
  11. 4
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  12. 4
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  13. 4
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  14. 4
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  15. 4
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  16. 4
    0
      Marlin/src/config/examples/Creality/CR-10S/Configuration_adv.h
  17. 4
    0
      Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h
  18. 4
    0
      Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h
  19. 4
    0
      Marlin/src/config/examples/Creality/Ender-2/Configuration_adv.h
  20. 4
    0
      Marlin/src/config/examples/Creality/Ender-3/Configuration_adv.h
  21. 4
    0
      Marlin/src/config/examples/Creality/Ender-4/Configuration_adv.h
  22. 4
    0
      Marlin/src/config/examples/Einstart-S/Configuration_adv.h
  23. 4
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  24. 4
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  25. 4
    0
      Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h
  26. 4
    0
      Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h
  27. 4
    0
      Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h
  28. 4
    0
      Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h
  29. 4
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro C/Configuration_adv.h
  30. 4
    0
      Marlin/src/config/examples/Geeetech/Prusa i3 Pro W/Configuration_adv.h
  31. 4
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  32. 4
    0
      Marlin/src/config/examples/JGAurora/A5/Configuration_adv.h
  33. 4
    0
      Marlin/src/config/examples/MakerParts/Configuration_adv.h
  34. 4
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  35. 4
    0
      Marlin/src/config/examples/Malyan/M200/Configuration_adv.h
  36. 4
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  37. 4
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  38. 4
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  39. 4
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  40. 4
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  41. 4
    0
      Marlin/src/config/examples/TheBorg/Configuration_adv.h
  42. 4
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  43. 4
    0
      Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h
  44. 4
    0
      Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h
  45. 4
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  46. 4
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  47. 4
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  48. 4
    0
      Marlin/src/config/examples/Wanhao/Duplicator 6/Configuration_adv.h
  49. 4
    0
      Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h
  50. 4
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  51. 4
    0
      Marlin/src/config/examples/delta/FLSUN/kossel/Configuration_adv.h
  52. 4
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  53. 4
    0
      Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h
  54. 4
    0
      Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h
  55. 4
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  56. 4
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  57. 4
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  58. 4
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  59. 4
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  60. 4
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  61. 4
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h
  62. 10
    0
      Marlin/src/core/utility.h
  63. 4
    4
      Marlin/src/feature/bedlevel/ubl/ubl.cpp
  64. 22
    22
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp
  65. 3
    3
      Marlin/src/gcode/calibrate/M100.cpp

+ 4
- 0
Marlin/Configuration_adv.h View File

@@ -1049,6 +1049,10 @@
1049 1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050 1050
 //#define ADVANCED_OK
1051 1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052 1056
 // @section extras
1053 1057
 
1054 1058
 /**

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

@@ -1049,6 +1049,10 @@
1049 1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050 1050
 //#define ADVANCED_OK
1051 1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052 1056
 // @section extras
1053 1057
 
1054 1058
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Anet/A2/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Anet/A2plus/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1047,6 +1047,10 @@
1047 1047
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048 1048
 //#define ADVANCED_OK
1049 1049
 
1050
+// Printrun may have trouble receiving long strings all at once.
1051
+// This option inserts short delays between lines of serial output.
1052
+#define SERIAL_OVERRUN_PROTECTION
1053
+
1050 1054
 // @section extras
1051 1055
 
1052 1056
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/ArmEd/Configuration_adv.h View File

@@ -1021,6 +1021,10 @@
1021 1021
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1022 1022
 //#define ADVANCED_OK
1023 1023
 
1024
+// Printrun may have trouble receiving long strings all at once.
1025
+// This option inserts short delays between lines of serial output.
1026
+#define SERIAL_OVERRUN_PROTECTION
1027
+
1024 1028
 // @section extras
1025 1029
 
1026 1030
 /**

+ 4
- 0
Marlin/src/config/examples/BIBO/TouchX/cyclops/Configuration_adv.h View File

@@ -1047,6 +1047,10 @@
1047 1047
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1048 1048
 //#define ADVANCED_OK
1049 1049
 
1050
+// Printrun may have trouble receiving long strings all at once.
1051
+// This option inserts short delays between lines of serial output.
1052
+#define SERIAL_OVERRUN_PROTECTION
1053
+
1050 1054
 // @section extras
1051 1055
 
1052 1056
 /**

+ 4
- 0
Marlin/src/config/examples/BIBO/TouchX/default/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1056,6 +1056,10 @@
1056 1056
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1057 1057
 #define ADVANCED_OK
1058 1058
 
1059
+// Printrun may have trouble receiving long strings all at once.
1060
+// This option inserts short delays between lines of serial output.
1061
+#define SERIAL_OVERRUN_PROTECTION
1062
+
1059 1063
 // @section extras
1060 1064
 
1061 1065
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 #define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/CR-10mini/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Creality/CR-8/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Einstart-S/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Formbot/Raptor/Configuration_adv.h View File

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 #define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

+ 4
- 0
Marlin/src/config/examples/Formbot/T_Rex_2+/Configuration_adv.h View File

@@ -1053,6 +1053,10 @@
1053 1053
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1054 1054
 //#define ADVANCED_OK
1055 1055
 
1056
+// Printrun may have trouble receiving long strings all at once.
1057
+// This option inserts short delays between lines of serial output.
1058
+#define SERIAL_OVERRUN_PROTECTION
1059
+
1056 1060
 // @section extras
1057 1061
 
1058 1062
 /**

+ 4
- 0
Marlin/src/config/examples/Formbot/T_Rex_3/Configuration_adv.h View File

@@ -1053,6 +1053,10 @@
1053 1053
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1054 1054
 //#define ADVANCED_OK
1055 1055
 
1056
+// Printrun may have trouble receiving long strings all at once.
1057
+// This option inserts short delays between lines of serial output.
1058
+#define SERIAL_OVERRUN_PROTECTION
1059
+
1056 1060
 // @section extras
1057 1061
 
1058 1062
 /**

+ 4
- 0
Marlin/src/config/examples/Geeetech/MeCreator2/Configuration_adv.h View File

@@ -1049,6 +1049,10 @@
1049 1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050 1050
 //#define ADVANCED_OK
1051 1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052 1056
 // @section extras
1053 1057
 
1054 1058
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1056,6 +1056,10 @@
1056 1056
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1057 1057
 //#define ADVANCED_OK
1058 1058
 
1059
+// Printrun may have trouble receiving long strings all at once.
1060
+// This option inserts short delays between lines of serial output.
1061
+#define SERIAL_OVERRUN_PROTECTION
1062
+
1059 1063
 // @section extras
1060 1064
 
1061 1065
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/Tronxy/X3A/Configuration_adv.h View File

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

+ 4
- 0
Marlin/src/config/examples/UltiMachine/Archim1/Configuration_adv.h View File

@@ -1049,6 +1049,10 @@
1049 1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050 1050
 //#define ADVANCED_OK
1051 1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052 1056
 // @section extras
1053 1057
 
1054 1058
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1061,6 +1061,10 @@
1061 1061
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1062 1062
 //#define ADVANCED_OK
1063 1063
 
1064
+// Printrun may have trouble receiving long strings all at once.
1065
+// This option inserts short delays between lines of serial output.
1066
+#define SERIAL_OVERRUN_PROTECTION
1067
+
1064 1068
 // @section extras
1065 1069
 
1066 1070
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/Anycubic/Kossel/Configuration_adv.h View File

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/Geeetech/Rostock 301/Configuration_adv.h View File

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

+ 4
- 0
Marlin/src/config/examples/delta/Tevo Little Monster/Configuration_adv.h View File

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1050,6 +1050,10 @@
1050 1050
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1051 1051
 //#define ADVANCED_OK
1052 1052
 
1053
+// Printrun may have trouble receiving long strings all at once.
1054
+// This option inserts short delays between lines of serial output.
1055
+#define SERIAL_OVERRUN_PROTECTION
1056
+
1053 1057
 // @section extras
1054 1058
 
1055 1059
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1048,6 +1048,10 @@
1048 1048
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1049 1049
 //#define ADVANCED_OK
1050 1050
 
1051
+// Printrun may have trouble receiving long strings all at once.
1052
+// This option inserts short delays between lines of serial output.
1053
+#define SERIAL_OVERRUN_PROTECTION
1054
+
1051 1055
 // @section extras
1052 1056
 
1053 1057
 /**

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

@@ -1049,6 +1049,10 @@
1049 1049
 // Some clients will have this feature soon. This could make the NO_TIMEOUTS unnecessary.
1050 1050
 //#define ADVANCED_OK
1051 1051
 
1052
+// Printrun may have trouble receiving long strings all at once.
1053
+// This option inserts short delays between lines of serial output.
1054
+#define SERIAL_OVERRUN_PROTECTION
1055
+
1052 1056
 // @section extras
1053 1057
 
1054 1058
 /**

+ 10
- 0
Marlin/src/core/utility.h View File

@@ -25,8 +25,18 @@
25 25
 
26 26
 constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };
27 27
 
28
+// Delay that ensures heaters and watchdog are kept alive
28 29
 void safe_delay(millis_t ms);
29 30
 
31
+// A delay to provide brittle hosts time to receive bytes
32
+inline void serial_delay(const millis_t ms) {
33
+  #if ENABLED(SERIAL_OVERRUN_PROTECTION)
34
+    safe_delay(ms);
35
+  #else
36
+    UNUSED(ms);
37
+  #endif
38
+}
39
+
30 40
 #if ENABLED(EEPROM_SETTINGS) || ENABLED(SD_FIRMWARE_UPDATE)
31 41
   void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
32 42
 #endif

+ 4
- 4
Marlin/src/feature/bedlevel/ubl/ubl.cpp View File

@@ -59,7 +59,7 @@
59 59
           SERIAL_ECHOPGM_P(port, " Z");
60 60
           SERIAL_ECHO_F_P(port, z_values[x][y], 2);
61 61
           SERIAL_EOL_P(port);
62
-          safe_delay(75); // Prevent Printrun from exploding
62
+          serial_delay(75); // Prevent Printrun from exploding
63 63
         }
64 64
   }
65 65
 
@@ -76,7 +76,7 @@
76 76
     SERIAL_PROTOCOLPGM_P(port, " System v" UBL_VERSION " ");
77 77
     if (!planner.leveling_active) SERIAL_PROTOCOLPGM_P(port, "in");
78 78
     SERIAL_PROTOCOLLNPGM_P(port, "active.");
79
-    safe_delay(50);
79
+    serial_delay(50);
80 80
   }
81 81
 
82 82
   #if ENABLED(UBL_DEVEL_DEBUGGING)
@@ -173,7 +173,7 @@
173 173
     if (y < 100) { SERIAL_CHAR(' '); if (y < 10) SERIAL_CHAR(' '); }
174 174
     SERIAL_ECHO(y);
175 175
     SERIAL_CHAR(')');
176
-    safe_delay(5);
176
+    serial_delay(5);
177 177
   }
178 178
 
179 179
   static void serial_echo_column_labels(const uint8_t sp) {
@@ -183,7 +183,7 @@
183 183
       SERIAL_ECHO(i);
184 184
       SERIAL_ECHO_SP(sp);
185 185
     }
186
-    safe_delay(10);
186
+    serial_delay(10);
187 187
   }
188 188
 
189 189
   /**

+ 22
- 22
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp View File

@@ -780,7 +780,7 @@
780 780
           }
781 781
         }
782 782
       }
783
-      safe_delay(15);
783
+      serial_delay(15);
784 784
       return false;
785 785
     }
786 786
 
@@ -999,13 +999,13 @@
999 999
           SERIAL_FLUSH();                                           // Prevent host M105 buffer overrun.
1000 1000
         } while (!ui.button_pressed());
1001 1001
 
1002
-        if (!lcd_map_control) ui.return_to_status();               // Just editing a single point? Return to status
1002
+        if (!lcd_map_control) ui.return_to_status();                // Just editing a single point? Return to status
1003 1003
 
1004 1004
         if (click_and_hold(abort_fine_tune)) goto FINE_TUNE_EXIT;   // If the click is held down, abort editing
1005 1005
 
1006 1006
         z_values[location.x_index][location.y_index] = new_z;       // Save the updated Z value
1007 1007
 
1008
-        safe_delay(20);                                             // No switch noise
1008
+        serial_delay(20);                                           // No switch noise
1009 1009
         ui.refresh();
1010 1010
 
1011 1011
       } while (location.x_index >= 0 && --g29_repetition_cnt > 0);
@@ -1509,7 +1509,7 @@
1509 1509
               SERIAL_PROTOCOLCHAR(',');
1510 1510
               SERIAL_PROTOCOL_F(z_tmp, 7);
1511 1511
               SERIAL_ECHOPGM("]   ---> ");
1512
-              safe_delay(20);
1512
+              serial_delay(20);
1513 1513
             }
1514 1514
           #endif
1515 1515
 
@@ -1524,7 +1524,7 @@
1524 1524
               SERIAL_PROTOCOLCHAR(',');
1525 1525
               SERIAL_PROTOCOL_F(z_tmp, 7);
1526 1526
               SERIAL_ECHOLNPGM("]");
1527
-              safe_delay(55);
1527
+              serial_delay(55);
1528 1528
             }
1529 1529
           #endif
1530 1530
 
@@ -1542,7 +1542,7 @@
1542 1542
           SERIAL_ECHOPGM("  D=");
1543 1543
           SERIAL_PROTOCOL_F(lsf_results.D, 7);
1544 1544
           SERIAL_EOL();
1545
-          safe_delay(55);
1545
+          serial_delay(55);
1546 1546
 
1547 1547
           SERIAL_ECHOPGM("bed plane normal = [");
1548 1548
           SERIAL_PROTOCOL_F(normal.x, 7);
@@ -1681,7 +1681,7 @@
1681 1681
         SERIAL_PROTOCOLPGM(" Loaded.");
1682 1682
       }
1683 1683
       SERIAL_EOL();
1684
-      safe_delay(50);
1684
+      serial_delay(50);
1685 1685
 
1686 1686
       #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
1687 1687
         SERIAL_PROTOCOLPGM("planner.z_fade_height : ");
@@ -1697,20 +1697,20 @@
1697 1697
         SERIAL_EOL();
1698 1698
       #endif
1699 1699
 
1700
-      SERIAL_ECHOLNPAIR("MESH_MIN_X  " STRINGIFY(MESH_MIN_X) "=", MESH_MIN_X); safe_delay(50);
1701
-      SERIAL_ECHOLNPAIR("MESH_MIN_Y  " STRINGIFY(MESH_MIN_Y) "=", MESH_MIN_Y); safe_delay(50);
1702
-      SERIAL_ECHOLNPAIR("MESH_MAX_X  " STRINGIFY(MESH_MAX_X) "=", MESH_MAX_X); safe_delay(50);
1703
-      SERIAL_ECHOLNPAIR("MESH_MAX_Y  " STRINGIFY(MESH_MAX_Y) "=", MESH_MAX_Y); safe_delay(50);
1704
-      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_X  ", GRID_MAX_POINTS_X);             safe_delay(50);
1705
-      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_Y  ", GRID_MAX_POINTS_Y);             safe_delay(50);
1700
+      SERIAL_ECHOLNPAIR("MESH_MIN_X  " STRINGIFY(MESH_MIN_X) "=", MESH_MIN_X); serial_delay(50);
1701
+      SERIAL_ECHOLNPAIR("MESH_MIN_Y  " STRINGIFY(MESH_MIN_Y) "=", MESH_MIN_Y); serial_delay(50);
1702
+      SERIAL_ECHOLNPAIR("MESH_MAX_X  " STRINGIFY(MESH_MAX_X) "=", MESH_MAX_X); serial_delay(50);
1703
+      SERIAL_ECHOLNPAIR("MESH_MAX_Y  " STRINGIFY(MESH_MAX_Y) "=", MESH_MAX_Y); serial_delay(50);
1704
+      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_X  ", GRID_MAX_POINTS_X);             serial_delay(50);
1705
+      SERIAL_ECHOLNPAIR("GRID_MAX_POINTS_Y  ", GRID_MAX_POINTS_Y);             serial_delay(50);
1706 1706
       SERIAL_ECHOLNPAIR("MESH_X_DIST  ", MESH_X_DIST);
1707
-      SERIAL_ECHOLNPAIR("MESH_Y_DIST  ", MESH_Y_DIST);                         safe_delay(50);
1707
+      SERIAL_ECHOLNPAIR("MESH_Y_DIST  ", MESH_Y_DIST);                         serial_delay(50);
1708 1708
 
1709 1709
       SERIAL_PROTOCOLPGM("X-Axis Mesh Points at: ");
1710 1710
       for (uint8_t i = 0; i < GRID_MAX_POINTS_X; i++) {
1711 1711
         SERIAL_PROTOCOL_F(LOGICAL_X_POSITION(mesh_index_to_xpos(i)), 3);
1712 1712
         SERIAL_PROTOCOLPGM("  ");
1713
-        safe_delay(25);
1713
+        serial_delay(25);
1714 1714
       }
1715 1715
       SERIAL_EOL();
1716 1716
 
@@ -1718,7 +1718,7 @@
1718 1718
       for (uint8_t i = 0; i < GRID_MAX_POINTS_Y; i++) {
1719 1719
         SERIAL_PROTOCOL_F(LOGICAL_Y_POSITION(mesh_index_to_ypos(i)), 3);
1720 1720
         SERIAL_PROTOCOLPGM("  ");
1721
-        safe_delay(25);
1721
+        serial_delay(25);
1722 1722
       }
1723 1723
       SERIAL_EOL();
1724 1724
 
@@ -1727,27 +1727,27 @@
1727 1727
         SERIAL_PROTOCOLLNPAIR("  state:", READ(KILL_PIN));
1728 1728
       #endif
1729 1729
       SERIAL_EOL();
1730
-      safe_delay(50);
1730
+      serial_delay(50);
1731 1731
 
1732 1732
       #if ENABLED(UBL_DEVEL_DEBUGGING)
1733 1733
         SERIAL_PROTOCOLLNPAIR("ubl_state_at_invocation :", ubl_state_at_invocation); SERIAL_EOL();
1734 1734
         SERIAL_PROTOCOLLNPAIR("ubl_state_recursion_chk :", ubl_state_recursion_chk); SERIAL_EOL();
1735
-        safe_delay(50);
1735
+        serial_delay(50);
1736 1736
 
1737 1737
         SERIAL_PROTOCOLPAIR("Meshes go from ", hex_address((void*)settings.meshes_start_index()));
1738 1738
         SERIAL_PROTOCOLLNPAIR(" to ", hex_address((void*)settings.meshes_end_index()));
1739
-        safe_delay(50);
1739
+        serial_delay(50);
1740 1740
 
1741 1741
         SERIAL_PROTOCOLLNPAIR("sizeof(ubl) :  ", (int)sizeof(ubl));         SERIAL_EOL();
1742 1742
         SERIAL_PROTOCOLLNPAIR("z_value[][] size: ", (int)sizeof(z_values)); SERIAL_EOL();
1743
-        safe_delay(25);
1743
+        serial_delay(25);
1744 1744
 
1745 1745
         SERIAL_PROTOCOLLNPAIR("EEPROM free for UBL: ", hex_address((void*)(settings.meshes_end_index() - settings.meshes_start_index())));
1746
-        safe_delay(50);
1746
+        serial_delay(50);
1747 1747
 
1748 1748
         SERIAL_PROTOCOLPAIR("EEPROM can hold ", settings.calc_num_meshes());
1749 1749
         SERIAL_PROTOCOLLNPGM(" meshes.\n");
1750
-        safe_delay(25);
1750
+        serial_delay(25);
1751 1751
       #endif // UBL_DEVEL_DEBUGGING
1752 1752
 
1753 1753
       if (!sanity_check()) {

+ 3
- 3
Marlin/src/gcode/calibrate/M100.cpp View File

@@ -117,7 +117,7 @@ inline int32_t count_test_bytes(const char * const ptr) {
117 117
         print_hex_byte(ptr[i]);
118 118
         SERIAL_CHAR(' ');
119 119
       }
120
-      safe_delay(25);
120
+      serial_delay(25);
121 121
       SERIAL_CHAR('|');                   // Point out non test bytes
122 122
       for (uint8_t i = 0; i < 16; i++) {
123 123
         char ccc = (char)ptr[i]; // cast to char before automatically casting to char on assignment, in case the compiler is broken
@@ -131,7 +131,7 @@ inline int32_t count_test_bytes(const char * const ptr) {
131 131
       }
132 132
       SERIAL_EOL();
133 133
       ptr += 16;
134
-      safe_delay(25);
134
+      serial_delay(25);
135 135
       idle();
136 136
     }
137 137
   }
@@ -170,7 +170,7 @@ inline int check_for_free_memory_corruption(PGM_P const title) {
170 170
     // safe_delay(20);                 // boards.
171 171
     // while ( !READ(63))
172 172
     //   idle();
173
-    safe_delay(20);
173
+    serial_delay(20);
174 174
     #if ENABLED(M100_FREE_MEMORY_DUMPER)
175 175
       M100_dump_routine(PSTR("   Memory corruption detected with sp<Heap\n"), (char*)0x1B80, (char*)0x21FF);
176 176
     #endif

Loading…
Cancel
Save