Przeglądaj źródła

Merge pull request #4066 from thinkyhead/rc_M851_with_probe

Make M851 standard with a bed probe
Scott Lahteine 9 lat temu
rodzic
commit
bd4ec727e7
42 zmienionych plików z 155 dodań i 366 usunięć
  1. 24
    18
      Marlin/Conditionals.h
  2. 1
    13
      Marlin/Configuration.h
  3. 5
    4
      Marlin/Configuration_adv.h
  4. 1
    1
      Marlin/Marlin.h
  5. 9
    6
      Marlin/Marlin_main.cpp
  6. 9
    16
      Marlin/configuration_store.cpp
  7. 1
    13
      Marlin/example_configurations/Cartesio/Configuration.h
  8. 5
    4
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  9. 1
    13
      Marlin/example_configurations/Felix/Configuration.h
  10. 5
    4
      Marlin/example_configurations/Felix/Configuration_adv.h
  11. 1
    13
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  12. 1
    13
      Marlin/example_configurations/Hephestos/Configuration.h
  13. 5
    4
      Marlin/example_configurations/Hephestos/Configuration_adv.h
  14. 4
    11
      Marlin/example_configurations/Hephestos_2/Configuration.h
  15. 5
    4
      Marlin/example_configurations/Hephestos_2/Configuration_adv.h
  16. 1
    13
      Marlin/example_configurations/K8200/Configuration.h
  17. 5
    4
      Marlin/example_configurations/K8200/Configuration_adv.h
  18. 1
    13
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  19. 1
    13
      Marlin/example_configurations/RigidBot/Configuration.h
  20. 5
    4
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  21. 1
    13
      Marlin/example_configurations/SCARA/Configuration.h
  22. 5
    4
      Marlin/example_configurations/SCARA/Configuration_adv.h
  23. 1
    13
      Marlin/example_configurations/TAZ4/Configuration.h
  24. 5
    4
      Marlin/example_configurations/TAZ4/Configuration_adv.h
  25. 1
    13
      Marlin/example_configurations/WITBOX/Configuration.h
  26. 5
    4
      Marlin/example_configurations/WITBOX/Configuration_adv.h
  27. 1
    13
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  28. 1
    13
      Marlin/example_configurations/delta/biv2.5/Configuration.h
  29. 5
    4
      Marlin/example_configurations/delta/biv2.5/Configuration_adv.h
  30. 1
    13
      Marlin/example_configurations/delta/generic/Configuration.h
  31. 5
    4
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  32. 1
    13
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  33. 5
    4
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  34. 4
    11
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  35. 5
    4
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  36. 1
    13
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  37. 5
    4
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  38. 1
    13
      Marlin/example_configurations/makibox/Configuration.h
  39. 5
    4
      Marlin/example_configurations/makibox/Configuration_adv.h
  40. 1
    13
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  41. 5
    4
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  42. 1
    1
      Marlin/ultralcd.cpp

+ 24
- 18
Marlin/Conditionals.h Wyświetl plik

384
   #endif
384
   #endif
385
 
385
 
386
   /**
386
   /**
387
-   * Z Safe Homing dependencies
388
-   */
389
-  #if ENABLED(Z_SAFE_HOMING)
390
-    #ifndef X_PROBE_OFFSET_FROM_EXTRUDER
391
-      #define X_PROBE_OFFSET_FROM_EXTRUDER 0
392
-    #endif
393
-    #ifndef Y_PROBE_OFFSET_FROM_EXTRUDER
394
-      #define Y_PROBE_OFFSET_FROM_EXTRUDER 0
395
-    #endif
396
-    #ifndef Z_PROBE_OFFSET_FROM_EXTRUDER
397
-      #define Z_PROBE_OFFSET_FROM_EXTRUDER 0
398
-    #endif
399
-    #ifndef XY_TRAVEL_SPEED
400
-      #define XY_TRAVEL_SPEED 4000
401
-    #endif
402
-  #endif
403
-
404
-  /**
405
    * Host keep alive
387
    * Host keep alive
406
    */
388
    */
407
   #ifndef DEFAULT_KEEPALIVE_INTERVAL
389
   #ifndef DEFAULT_KEEPALIVE_INTERVAL
776
   #define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)
758
   #define HAS_BED_PROBE (PROBE_SELECTED && PROBE_PIN_CONFIGURED)
777
 
759
 
778
   /**
760
   /**
761
+   * Probe dependencies
762
+   */
763
+  #if HAS_BED_PROBE
764
+    #ifndef X_PROBE_OFFSET_FROM_EXTRUDER
765
+      #define X_PROBE_OFFSET_FROM_EXTRUDER 0
766
+    #endif
767
+    #ifndef Y_PROBE_OFFSET_FROM_EXTRUDER
768
+      #define Y_PROBE_OFFSET_FROM_EXTRUDER 0
769
+    #endif
770
+    #ifndef Z_PROBE_OFFSET_FROM_EXTRUDER
771
+      #define Z_PROBE_OFFSET_FROM_EXTRUDER 0
772
+    #endif
773
+    #ifndef Z_PROBE_OFFSET_RANGE_MIN
774
+      #define Z_PROBE_OFFSET_RANGE_MIN -20
775
+    #endif
776
+    #ifndef Z_PROBE_OFFSET_RANGE_MAX
777
+      #define Z_PROBE_OFFSET_RANGE_MAX 20
778
+    #endif
779
+    #ifndef XY_TRAVEL_SPEED
780
+      #define XY_TRAVEL_SPEED 4000
781
+    #endif
782
+  #endif
783
+
784
+  /**
779
    * Delta radius/rod trimmers
785
    * Delta radius/rod trimmers
780
    */
786
    */
781
   #if ENABLED(DELTA)
787
   #if ENABLED(DELTA)

+ 1
- 13
Marlin/Configuration.h Wyświetl plik

691
 #endif
691
 #endif
692
 
692
 
693
 
693
 
694
-// @section movement
694
+// @section motion
695
 
695
 
696
 /**
696
 /**
697
  * MOVEMENT SETTINGS
697
  * MOVEMENT SETTINGS
719
 //============================= Additional Features ===========================
719
 //============================= Additional Features ===========================
720
 //=============================================================================
720
 //=============================================================================
721
 
721
 
722
-// @section more
723
-
724
-// Custom M code points
725
-#define CUSTOM_M_CODES
726
-#if ENABLED(CUSTOM_M_CODES)
727
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
728
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
729
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
730
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
731
-  #endif
732
-#endif
733
-
734
 // @section extras
722
 // @section extras
735
 
723
 
736
 //
724
 //

+ 5
- 4
Marlin/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 1
Marlin/Marlin.h Wyświetl plik

319
   extern float z_endstop_adj;
319
   extern float z_endstop_adj;
320
 #endif
320
 #endif
321
 
321
 
322
-#if ENABLED(AUTO_BED_LEVELING_FEATURE)
322
+#if HAS_BED_PROBE
323
   extern float zprobe_zoffset;
323
   extern float zprobe_zoffset;
324
 #endif
324
 #endif
325
 
325
 

+ 9
- 6
Marlin/Marlin_main.cpp Wyświetl plik

364
 
364
 
365
 static uint8_t target_extruder;
365
 static uint8_t target_extruder;
366
 
366
 
367
+#if HAS_BED_PROBE
368
+  float zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
369
+#endif
370
+
367
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
371
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
368
   int xy_travel_speed = XY_TRAVEL_SPEED;
372
   int xy_travel_speed = XY_TRAVEL_SPEED;
369
-  float zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
370
   bool bed_leveling_in_progress = false;
373
   bool bed_leveling_in_progress = false;
371
 #endif
374
 #endif
372
 
375
 
1482
     current_position[axis] = base_home_pos(axis) + home_offset[axis];
1485
     current_position[axis] = base_home_pos(axis) + home_offset[axis];
1483
     update_software_endstops(axis);
1486
     update_software_endstops(axis);
1484
 
1487
 
1485
-    #if ENABLED(AUTO_BED_LEVELING_FEATURE) && Z_HOME_DIR < 0
1488
+    #if HAS_BED_PROBE && Z_HOME_DIR < 0
1486
       if (axis == Z_AXIS) {
1489
       if (axis == Z_AXIS) {
1487
         current_position[Z_AXIS] -= zprobe_zoffset;
1490
         current_position[Z_AXIS] -= zprobe_zoffset;
1488
         #if ENABLED(DEBUG_LEVELING_FEATURE)
1491
         #if ENABLED(DEBUG_LEVELING_FEATURE)
6224
 
6227
 
6225
 #endif // ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
6228
 #endif // ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED
6226
 
6229
 
6227
-#ifdef CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
6230
+#if HAS_BED_PROBE
6228
 
6231
 
6229
-  inline void gcode_SET_Z_PROBE_OFFSET() {
6232
+  inline void gcode_M851() {
6230
 
6233
 
6231
     SERIAL_ECHO_START;
6234
     SERIAL_ECHO_START;
6232
     SERIAL_ECHOPGM(MSG_ZPROBE_ZOFFSET);
6235
     SERIAL_ECHOPGM(MSG_ZPROBE_ZOFFSET);
6252
     SERIAL_EOL;
6255
     SERIAL_EOL;
6253
   }
6256
   }
6254
 
6257
 
6255
-#endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
6258
+#endif // HAS_BED_PROBE
6256
 
6259
 
6257
 #if ENABLED(FILAMENTCHANGEENABLE)
6260
 #if ENABLED(FILAMENTCHANGEENABLE)
6258
 
6261
 
7361
 
7364
 
7362
       #ifdef CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
7365
       #ifdef CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
7363
         case CUSTOM_M_CODE_SET_Z_PROBE_OFFSET:
7366
         case CUSTOM_M_CODE_SET_Z_PROBE_OFFSET:
7364
-          gcode_SET_Z_PROBE_OFFSET();
7367
+          gcode_M851();
7365
           break;
7368
           break;
7366
       #endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
7369
       #endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
7367
 
7370
 

+ 9
- 16
Marlin/configuration_store.cpp Wyświetl plik

210
     for (uint8_t q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
210
     for (uint8_t q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
211
   #endif // MESH_BED_LEVELING
211
   #endif // MESH_BED_LEVELING
212
 
212
 
213
-  #if DISABLED(AUTO_BED_LEVELING_FEATURE)
213
+  #if !HAS_BED_PROBE
214
     float zprobe_zoffset = 0;
214
     float zprobe_zoffset = 0;
215
   #endif
215
   #endif
216
   EEPROM_WRITE_VAR(i, zprobe_zoffset);
216
   EEPROM_WRITE_VAR(i, zprobe_zoffset);
389
       for (uint8_t q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_READ_VAR(i, dummy);
389
       for (uint8_t q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_READ_VAR(i, dummy);
390
     #endif // MESH_BED_LEVELING
390
     #endif // MESH_BED_LEVELING
391
 
391
 
392
-    #if DISABLED(AUTO_BED_LEVELING_FEATURE)
392
+    #if !HAS_BED_PROBE
393
       float zprobe_zoffset = 0;
393
       float zprobe_zoffset = 0;
394
     #endif
394
     #endif
395
     EEPROM_READ_VAR(i, zprobe_zoffset);
395
     EEPROM_READ_VAR(i, zprobe_zoffset);
554
     mbl.reset();
554
     mbl.reset();
555
   #endif
555
   #endif
556
 
556
 
557
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
557
+  #if HAS_BED_PROBE
558
     zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
558
     zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
559
   #endif
559
   #endif
560
 
560
 
927
   /**
927
   /**
928
    * Auto Bed Leveling
928
    * Auto Bed Leveling
929
    */
929
    */
930
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
931
-    #if ENABLED(CUSTOM_M_CODES)
932
-      if (!forReplay) {
933
-        CONFIG_ECHO_START;
934
-        SERIAL_ECHOLNPGM("Z-Probe Offset (mm):");
935
-      }
930
+  #if HAS_BED_PROBE
931
+    if (!forReplay) {
936
       CONFIG_ECHO_START;
932
       CONFIG_ECHO_START;
937
-      SERIAL_ECHOPAIR("  M" STRINGIFY(CUSTOM_M_CODE_SET_Z_PROBE_OFFSET) " Z", zprobe_zoffset);
938
-    #else
939
-      if (!forReplay) {
940
-        CONFIG_ECHO_START;
941
-        SERIAL_ECHOPAIR("Z-Probe Offset (mm):", zprobe_zoffset);
942
-      }
943
-    #endif
933
+      SERIAL_ECHOLNPGM("Z-Probe Offset (mm):");
934
+    }
935
+    CONFIG_ECHO_START;
936
+    SERIAL_ECHOPAIR("  M851 Z", zprobe_zoffset);
944
     SERIAL_EOL;
937
     SERIAL_EOL;
945
   #endif
938
   #endif
946
 }
939
 }

+ 1
- 13
Marlin/example_configurations/Cartesio/Configuration.h Wyświetl plik

690
 #endif
690
 #endif
691
 
691
 
692
 
692
 
693
-// @section movement
693
+// @section motion
694
 
694
 
695
 /**
695
 /**
696
  * MOVEMENT SETTINGS
696
  * MOVEMENT SETTINGS
718
 //============================= Additional Features ===========================
718
 //============================= Additional Features ===========================
719
 //=============================================================================
719
 //=============================================================================
720
 
720
 
721
-// @section more
722
-
723
-// Custom M code points
724
-#define CUSTOM_M_CODES
725
-#if ENABLED(CUSTOM_M_CODES)
726
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
727
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
728
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
729
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
730
-  #endif
731
-#endif
732
-
733
 // @section extras
721
 // @section extras
734
 
722
 
735
 //
723
 //

+ 5
- 4
Marlin/example_configurations/Cartesio/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 13
Marlin/example_configurations/Felix/Configuration.h Wyświetl plik

673
 #endif
673
 #endif
674
 
674
 
675
 
675
 
676
-// @section movement
676
+// @section motion
677
 
677
 
678
 /**
678
 /**
679
  * MOVEMENT SETTINGS
679
  * MOVEMENT SETTINGS
702
 //============================= Additional Features ===========================
702
 //============================= Additional Features ===========================
703
 //=============================================================================
703
 //=============================================================================
704
 
704
 
705
-// @section more
706
-
707
-// Custom M code points
708
-#define CUSTOM_M_CODES
709
-#if ENABLED(CUSTOM_M_CODES)
710
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
711
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
712
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
713
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
714
-  #endif
715
-#endif
716
-
717
 // @section extras
705
 // @section extras
718
 
706
 
719
 //
707
 //

+ 5
- 4
Marlin/example_configurations/Felix/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 13
Marlin/example_configurations/Felix/DUAL/Configuration.h Wyświetl plik

671
 #endif
671
 #endif
672
 
672
 
673
 
673
 
674
-// @section movement
674
+// @section motion
675
 
675
 
676
 /**
676
 /**
677
  * MOVEMENT SETTINGS
677
  * MOVEMENT SETTINGS
700
 //============================= Additional Features ===========================
700
 //============================= Additional Features ===========================
701
 //=============================================================================
701
 //=============================================================================
702
 
702
 
703
-// @section more
704
-
705
-// Custom M code points
706
-#define CUSTOM_M_CODES
707
-#if ENABLED(CUSTOM_M_CODES)
708
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
709
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
710
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
711
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
712
-  #endif
713
-#endif
714
-
715
 // @section extras
703
 // @section extras
716
 
704
 
717
 //
705
 //

+ 1
- 13
Marlin/example_configurations/Hephestos/Configuration.h Wyświetl plik

683
 #endif
683
 #endif
684
 
684
 
685
 
685
 
686
-// @section movement
686
+// @section motion
687
 
687
 
688
 /**
688
 /**
689
  * MOVEMENT SETTINGS
689
  * MOVEMENT SETTINGS
711
 //============================= Additional Features ===========================
711
 //============================= Additional Features ===========================
712
 //=============================================================================
712
 //=============================================================================
713
 
713
 
714
-// @section more
715
-
716
-// Custom M code points
717
-#define CUSTOM_M_CODES
718
-#if ENABLED(CUSTOM_M_CODES)
719
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
720
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
721
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
722
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
723
-  #endif
724
-#endif
725
-
726
 // @section extras
714
 // @section extras
727
 
715
 
728
 //
716
 //

+ 5
- 4
Marlin/example_configurations/Hephestos/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 4
- 11
Marlin/example_configurations/Hephestos_2/Configuration.h Wyświetl plik

685
 #endif
685
 #endif
686
 
686
 
687
 
687
 
688
-// @section movement
688
+// @section motion
689
 
689
 
690
 /**
690
 /**
691
  * MOVEMENT SETTINGS
691
  * MOVEMENT SETTINGS
713
 //============================= Additional Features ===========================
713
 //============================= Additional Features ===========================
714
 //=============================================================================
714
 //=============================================================================
715
 
715
 
716
-// @section more
716
+// @section probes
717
 
717
 
718
-// Custom M code points
719
-#define CUSTOM_M_CODES
720
-#if ENABLED(CUSTOM_M_CODES)
721
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
722
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
723
-    #define Z_PROBE_OFFSET_RANGE_MIN -5
724
-    #define Z_PROBE_OFFSET_RANGE_MAX  0
725
-  #endif
726
-#endif
718
+#define Z_PROBE_OFFSET_RANGE_MIN -5
719
+#define Z_PROBE_OFFSET_RANGE_MAX  0
727
 
720
 
728
 // @section extras
721
 // @section extras
729
 
722
 

+ 5
- 4
Marlin/example_configurations/Hephestos_2/Configuration_adv.h Wyświetl plik

417
   #define USE_SMALL_INFOFONT
417
   #define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 13
Marlin/example_configurations/K8200/Configuration.h Wyświetl plik

708
 #endif
708
 #endif
709
 
709
 
710
 
710
 
711
-// @section movement
711
+// @section motion
712
 
712
 
713
 /**
713
 /**
714
  * MOVEMENT SETTINGS
714
  * MOVEMENT SETTINGS
736
 //============================= Additional Features ===========================
736
 //============================= Additional Features ===========================
737
 //=============================================================================
737
 //=============================================================================
738
 
738
 
739
-// @section more
740
-
741
-// Custom M code points
742
-#define CUSTOM_M_CODES
743
-#if ENABLED(CUSTOM_M_CODES)
744
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
745
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
746
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
747
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
748
-  #endif
749
-#endif
750
-
751
 // @section extras
739
 // @section extras
752
 
740
 
753
 //
741
 //

+ 5
- 4
Marlin/example_configurations/K8200/Configuration_adv.h Wyświetl plik

423
   //#define USE_SMALL_INFOFONT
423
   //#define USE_SMALL_INFOFONT
424
 #endif // DOGLCD
424
 #endif // DOGLCD
425
 
425
 
426
-// @section more
426
+// @section safety
427
 
427
 
428
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
428
+// The hardware watchdog should reset the microcontroller disabling all outputs,
429
+// in case the firmware gets stuck and doesn't do temperature regulation.
429
 #define USE_WATCHDOG
430
 #define USE_WATCHDOG
430
 
431
 
431
 #if ENABLED(USE_WATCHDOG)
432
 #if ENABLED(USE_WATCHDOG)
516
   #define BLOCK_BUFFER_SIZE 32 // maximize block buffer
517
   #define BLOCK_BUFFER_SIZE 32 // maximize block buffer
517
 #endif
518
 #endif
518
 
519
 
519
-// @section more
520
+// @section serial
520
 
521
 
521
-//The ASCII buffer for receiving from the serial:
522
+// The ASCII buffer for serial input
522
 #define MAX_CMD_SIZE 96
523
 #define MAX_CMD_SIZE 96
523
 #define BUFSIZE 4
524
 #define BUFSIZE 4
524
 
525
 

+ 1
- 13
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h Wyświetl plik

691
 #endif
691
 #endif
692
 
692
 
693
 
693
 
694
-// @section movement
694
+// @section motion
695
 
695
 
696
 /**
696
 /**
697
  * MOVEMENT SETTINGS
697
  * MOVEMENT SETTINGS
719
 //============================= Additional Features ===========================
719
 //============================= Additional Features ===========================
720
 //=============================================================================
720
 //=============================================================================
721
 
721
 
722
-// @section more
723
-
724
-// Custom M code points
725
-#define CUSTOM_M_CODES
726
-#if ENABLED(CUSTOM_M_CODES)
727
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
728
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
729
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
730
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
731
-  #endif
732
-#endif
733
-
734
 // @section extras
722
 // @section extras
735
 
723
 
736
 //
724
 //

+ 1
- 13
Marlin/example_configurations/RigidBot/Configuration.h Wyświetl plik

685
 #endif
685
 #endif
686
 
686
 
687
 
687
 
688
-// @section movement
688
+// @section motion
689
 
689
 
690
 /**
690
 /**
691
  * MOVEMENT SETTINGS
691
  * MOVEMENT SETTINGS
714
 //============================= Additional Features ===========================
714
 //============================= Additional Features ===========================
715
 //=============================================================================
715
 //=============================================================================
716
 
716
 
717
-// @section more
718
-
719
-// Custom M code points
720
-#define CUSTOM_M_CODES
721
-#if ENABLED(CUSTOM_M_CODES)
722
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
723
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
724
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
725
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
726
-  #endif
727
-#endif
728
-
729
 // @section extras
717
 // @section extras
730
 
718
 
731
 //
719
 //

+ 5
- 4
Marlin/example_configurations/RigidBot/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 8
518
 #define BUFSIZE 8
518
 
519
 

+ 1
- 13
Marlin/example_configurations/SCARA/Configuration.h Wyświetl plik

699
 #endif
699
 #endif
700
 
700
 
701
 
701
 
702
-// @section movement
702
+// @section motion
703
 
703
 
704
 /**
704
 /**
705
  * MOVEMENT SETTINGS
705
  * MOVEMENT SETTINGS
727
 //============================= Additional Features ===========================
727
 //============================= Additional Features ===========================
728
 //=============================================================================
728
 //=============================================================================
729
 
729
 
730
-// @section more
731
-
732
-// Custom M code points
733
-//#define CUSTOM_M_CODES
734
-#if ENABLED(CUSTOM_M_CODES)
735
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
736
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
737
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
738
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
739
-  #endif
740
-#endif
741
-
742
 // @section extras
730
 // @section extras
743
 
731
 
744
 //
732
 //

+ 5
- 4
Marlin/example_configurations/SCARA/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 13
Marlin/example_configurations/TAZ4/Configuration.h Wyświetl plik

712
 #endif
712
 #endif
713
 
713
 
714
 
714
 
715
-// @section movement
715
+// @section motion
716
 
716
 
717
 /**
717
 /**
718
  * MOVEMENT SETTINGS
718
  * MOVEMENT SETTINGS
740
 //============================= Additional Features ===========================
740
 //============================= Additional Features ===========================
741
 //=============================================================================
741
 //=============================================================================
742
 
742
 
743
-// @section more
744
-
745
-// Custom M code points
746
-#define CUSTOM_M_CODES
747
-#if ENABLED(CUSTOM_M_CODES)
748
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
749
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
750
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
751
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
752
-  #endif
753
-#endif
754
-
755
 // @section extras
743
 // @section extras
756
 
744
 
757
 //
745
 //

+ 5
- 4
Marlin/example_configurations/TAZ4/Configuration_adv.h Wyświetl plik

425
   //#define USE_SMALL_INFOFONT
425
   //#define USE_SMALL_INFOFONT
426
 #endif // DOGLCD
426
 #endif // DOGLCD
427
 
427
 
428
-// @section more
428
+// @section safety
429
 
429
 
430
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
430
+// The hardware watchdog should reset the microcontroller disabling all outputs,
431
+// in case the firmware gets stuck and doesn't do temperature regulation.
431
 #define USE_WATCHDOG
432
 #define USE_WATCHDOG
432
 
433
 
433
 #if ENABLED(USE_WATCHDOG)
434
 #if ENABLED(USE_WATCHDOG)
518
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
519
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
519
 #endif
520
 #endif
520
 
521
 
521
-// @section more
522
+// @section serial
522
 
523
 
523
-//The ASCII buffer for receiving from the serial:
524
+// The ASCII buffer for serial input
524
 #define MAX_CMD_SIZE 96
525
 #define MAX_CMD_SIZE 96
525
 #define BUFSIZE 4
526
 #define BUFSIZE 4
526
 
527
 

+ 1
- 13
Marlin/example_configurations/WITBOX/Configuration.h Wyświetl plik

683
 #endif
683
 #endif
684
 
684
 
685
 
685
 
686
-// @section movement
686
+// @section motion
687
 
687
 
688
 /**
688
 /**
689
  * MOVEMENT SETTINGS
689
  * MOVEMENT SETTINGS
711
 //============================= Additional Features ===========================
711
 //============================= Additional Features ===========================
712
 //=============================================================================
712
 //=============================================================================
713
 
713
 
714
-// @section more
715
-
716
-// Custom M code points
717
-#define CUSTOM_M_CODES
718
-#if ENABLED(CUSTOM_M_CODES)
719
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
720
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
721
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
722
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
723
-  #endif
724
-#endif
725
-
726
 // @section extras
714
 // @section extras
727
 
715
 
728
 //
716
 //

+ 5
- 4
Marlin/example_configurations/WITBOX/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 13
Marlin/example_configurations/adafruit/ST7565/Configuration.h Wyświetl plik

691
 #endif
691
 #endif
692
 
692
 
693
 
693
 
694
-// @section movement
694
+// @section motion
695
 
695
 
696
 /**
696
 /**
697
  * MOVEMENT SETTINGS
697
  * MOVEMENT SETTINGS
719
 //============================= Additional Features ===========================
719
 //============================= Additional Features ===========================
720
 //=============================================================================
720
 //=============================================================================
721
 
721
 
722
-// @section more
723
-
724
-// Custom M code points
725
-#define CUSTOM_M_CODES
726
-#if ENABLED(CUSTOM_M_CODES)
727
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
728
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
729
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
730
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
731
-  #endif
732
-#endif
733
-
734
 // @section extras
722
 // @section extras
735
 
723
 
736
 //
724
 //

+ 1
- 13
Marlin/example_configurations/delta/biv2.5/Configuration.h Wyświetl plik

777
 #endif
777
 #endif
778
 
778
 
779
 
779
 
780
-// @section movement
780
+// @section motion
781
 
781
 
782
 /**
782
 /**
783
  * MOVEMENT SETTINGS
783
  * MOVEMENT SETTINGS
808
 //============================= Additional Features ===========================
808
 //============================= Additional Features ===========================
809
 //=============================================================================
809
 //=============================================================================
810
 
810
 
811
-// @section more
812
-
813
-// Custom M code points
814
-#define CUSTOM_M_CODES
815
-#if ENABLED(CUSTOM_M_CODES)
816
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
817
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
818
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
819
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
820
-  #endif
821
-#endif
822
-
823
 // @section extras
811
 // @section extras
824
 
812
 
825
 //
813
 //

+ 5
- 4
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h Wyświetl plik

419
   //#define USE_SMALL_INFOFONT
419
   //#define USE_SMALL_INFOFONT
420
 #endif // DOGLCD
420
 #endif // DOGLCD
421
 
421
 
422
-// @section more
422
+// @section safety
423
 
423
 
424
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
424
+// The hardware watchdog should reset the microcontroller disabling all outputs,
425
+// in case the firmware gets stuck and doesn't do temperature regulation.
425
 #define USE_WATCHDOG
426
 #define USE_WATCHDOG
426
 
427
 
427
 #if ENABLED(USE_WATCHDOG)
428
 #if ENABLED(USE_WATCHDOG)
512
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513
 #endif
514
 #endif
514
 
515
 
515
-// @section more
516
+// @section serial
516
 
517
 
517
-//The ASCII buffer for receiving from the serial:
518
+// The ASCII buffer for serial input
518
 #define MAX_CMD_SIZE 96
519
 #define MAX_CMD_SIZE 96
519
 #define BUFSIZE 4
520
 #define BUFSIZE 4
520
 
521
 

+ 1
- 13
Marlin/example_configurations/delta/generic/Configuration.h Wyświetl plik

771
 #endif
771
 #endif
772
 
772
 
773
 
773
 
774
-// @section movement
774
+// @section motion
775
 
775
 
776
 /**
776
 /**
777
  * MOVEMENT SETTINGS
777
  * MOVEMENT SETTINGS
802
 //============================= Additional Features ===========================
802
 //============================= Additional Features ===========================
803
 //=============================================================================
803
 //=============================================================================
804
 
804
 
805
-// @section more
806
-
807
-// Custom M code points
808
-#define CUSTOM_M_CODES
809
-#if ENABLED(CUSTOM_M_CODES)
810
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
811
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
812
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
813
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
814
-  #endif
815
-#endif
816
-
817
 // @section extras
805
 // @section extras
818
 
806
 
819
 //
807
 //

+ 5
- 4
Marlin/example_configurations/delta/generic/Configuration_adv.h Wyświetl plik

419
   //#define USE_SMALL_INFOFONT
419
   //#define USE_SMALL_INFOFONT
420
 #endif // DOGLCD
420
 #endif // DOGLCD
421
 
421
 
422
-// @section more
422
+// @section safety
423
 
423
 
424
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
424
+// The hardware watchdog should reset the microcontroller disabling all outputs,
425
+// in case the firmware gets stuck and doesn't do temperature regulation.
425
 #define USE_WATCHDOG
426
 #define USE_WATCHDOG
426
 
427
 
427
 #if ENABLED(USE_WATCHDOG)
428
 #if ENABLED(USE_WATCHDOG)
512
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513
 #endif
514
 #endif
514
 
515
 
515
-// @section more
516
+// @section serial
516
 
517
 
517
-//The ASCII buffer for receiving from the serial:
518
+// The ASCII buffer for serial input
518
 #define MAX_CMD_SIZE 96
519
 #define MAX_CMD_SIZE 96
519
 #define BUFSIZE 4
520
 #define BUFSIZE 4
520
 
521
 

+ 1
- 13
Marlin/example_configurations/delta/kossel_mini/Configuration.h Wyświetl plik

774
 #endif
774
 #endif
775
 
775
 
776
 
776
 
777
-// @section movement
777
+// @section motion
778
 
778
 
779
 /**
779
 /**
780
  * MOVEMENT SETTINGS
780
  * MOVEMENT SETTINGS
805
 //============================= Additional Features ===========================
805
 //============================= Additional Features ===========================
806
 //=============================================================================
806
 //=============================================================================
807
 
807
 
808
-// @section more
809
-
810
-// Custom M code points
811
-#define CUSTOM_M_CODES
812
-#if ENABLED(CUSTOM_M_CODES)
813
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
814
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
815
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
816
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
817
-  #endif
818
-#endif
819
-
820
 // @section extras
808
 // @section extras
821
 
809
 
822
 //
810
 //

+ 5
- 4
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h Wyświetl plik

418
   //#define USE_SMALL_INFOFONT
418
   //#define USE_SMALL_INFOFONT
419
 #endif // DOGLCD
419
 #endif // DOGLCD
420
 
420
 
421
-// @section more
421
+// @section safety
422
 
422
 
423
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
423
+// The hardware watchdog should reset the microcontroller disabling all outputs,
424
+// in case the firmware gets stuck and doesn't do temperature regulation.
424
 #define USE_WATCHDOG
425
 #define USE_WATCHDOG
425
 
426
 
426
 #if ENABLED(USE_WATCHDOG)
427
 #if ENABLED(USE_WATCHDOG)
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
512
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
512
 #endif
513
 #endif
513
 
514
 
514
-// @section more
515
+// @section serial
515
 
516
 
516
-//The ASCII buffer for receiving from the serial:
517
+// The ASCII buffer for serial input
517
 #define MAX_CMD_SIZE 96
518
 #define MAX_CMD_SIZE 96
518
 #define BUFSIZE 4
519
 #define BUFSIZE 4
519
 
520
 

+ 4
- 11
Marlin/example_configurations/delta/kossel_pro/Configuration.h Wyświetl plik

768
 #endif
768
 #endif
769
 
769
 
770
 
770
 
771
-// @section movement
771
+// @section motion
772
 
772
 
773
 /**
773
 /**
774
  * MOVEMENT SETTINGS
774
  * MOVEMENT SETTINGS
805
 //============================= Additional Features ===========================
805
 //============================= Additional Features ===========================
806
 //=============================================================================
806
 //=============================================================================
807
 
807
 
808
-// @section more
808
+// @section probes
809
 
809
 
810
-// Custom M code points
811
-#define CUSTOM_M_CODES
812
-#if ENABLED(CUSTOM_M_CODES)
813
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
814
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
815
-    #define Z_PROBE_OFFSET_RANGE_MIN -15
816
-    #define Z_PROBE_OFFSET_RANGE_MAX -5
817
-  #endif
818
-#endif
810
+#define Z_PROBE_OFFSET_RANGE_MIN -15
811
+#define Z_PROBE_OFFSET_RANGE_MAX   5
819
 
812
 
820
 // @section extras
813
 // @section extras
821
 
814
 

+ 5
- 4
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h Wyświetl plik

423
   //#define USE_SMALL_INFOFONT
423
   //#define USE_SMALL_INFOFONT
424
 #endif // DOGLCD
424
 #endif // DOGLCD
425
 
425
 
426
-// @section more
426
+// @section safety
427
 
427
 
428
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
428
+// The hardware watchdog should reset the microcontroller disabling all outputs,
429
+// in case the firmware gets stuck and doesn't do temperature regulation.
429
 #define USE_WATCHDOG
430
 #define USE_WATCHDOG
430
 
431
 
431
 #if ENABLED(USE_WATCHDOG)
432
 #if ENABLED(USE_WATCHDOG)
516
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
517
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
517
 #endif
518
 #endif
518
 
519
 
519
-// @section more
520
+// @section serial
520
 
521
 
521
-//The ASCII buffer for receiving from the serial:
522
+// The ASCII buffer for serial input
522
 #define MAX_CMD_SIZE 96
523
 #define MAX_CMD_SIZE 96
523
 #define BUFSIZE 4
524
 #define BUFSIZE 4
524
 
525
 

+ 1
- 13
Marlin/example_configurations/delta/kossel_xl/Configuration.h Wyświetl plik

769
 #endif
769
 #endif
770
 
770
 
771
 
771
 
772
-// @section movement
772
+// @section motion
773
 
773
 
774
 /**
774
 /**
775
  * MOVEMENT SETTINGS
775
  * MOVEMENT SETTINGS
807
 //============================= Additional Features ===========================
807
 //============================= Additional Features ===========================
808
 //=============================================================================
808
 //=============================================================================
809
 
809
 
810
-// @section more
811
-
812
-// Custom M code points
813
-#define CUSTOM_M_CODES
814
-#if ENABLED(CUSTOM_M_CODES)
815
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
816
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
817
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
818
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
819
-  #endif
820
-#endif
821
-
822
 // @section extras
810
 // @section extras
823
 
811
 
824
 //
812
 //

+ 5
- 4
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h Wyświetl plik

419
   //#define USE_SMALL_INFOFONT
419
   //#define USE_SMALL_INFOFONT
420
 #endif // DOGLCD
420
 #endif // DOGLCD
421
 
421
 
422
-// @section more
422
+// @section safety
423
 
423
 
424
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
424
+// The hardware watchdog should reset the microcontroller disabling all outputs,
425
+// in case the firmware gets stuck and doesn't do temperature regulation.
425
 #define USE_WATCHDOG
426
 #define USE_WATCHDOG
426
 
427
 
427
 #if ENABLED(USE_WATCHDOG)
428
 #if ENABLED(USE_WATCHDOG)
512
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513
 #endif
514
 #endif
514
 
515
 
515
-// @section more
516
+// @section serial
516
 
517
 
517
-//The ASCII buffer for receiving from the serial:
518
+// The ASCII buffer for serial input
518
 #define MAX_CMD_SIZE 96
519
 #define MAX_CMD_SIZE 96
519
 #define BUFSIZE 4
520
 #define BUFSIZE 4
520
 
521
 

+ 1
- 13
Marlin/example_configurations/makibox/Configuration.h Wyświetl plik

694
 #endif
694
 #endif
695
 
695
 
696
 
696
 
697
-// @section movement
697
+// @section motion
698
 
698
 
699
 /**
699
 /**
700
  * MOVEMENT SETTINGS
700
  * MOVEMENT SETTINGS
722
 //============================= Additional Features ===========================
722
 //============================= Additional Features ===========================
723
 //=============================================================================
723
 //=============================================================================
724
 
724
 
725
-// @section more
726
-
727
-// Custom M code points
728
-#define CUSTOM_M_CODES
729
-#if ENABLED(CUSTOM_M_CODES)
730
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
731
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
732
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
733
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
734
-  #endif
735
-#endif
736
-
737
 // @section extras
725
 // @section extras
738
 
726
 
739
 //
727
 //

+ 5
- 4
Marlin/example_configurations/makibox/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 13
Marlin/example_configurations/tvrrug/Round2/Configuration.h Wyświetl plik

681
 #endif
681
 #endif
682
 
682
 
683
 
683
 
684
-// @section movement
684
+// @section motion
685
 
685
 
686
 /**
686
 /**
687
  * MOVEMENT SETTINGS
687
  * MOVEMENT SETTINGS
713
 //============================= Additional Features ===========================
713
 //============================= Additional Features ===========================
714
 //=============================================================================
714
 //=============================================================================
715
 
715
 
716
-// @section more
717
-
718
-// Custom M code points
719
-#define CUSTOM_M_CODES
720
-#if ENABLED(CUSTOM_M_CODES)
721
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
722
-    #define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
723
-    #define Z_PROBE_OFFSET_RANGE_MIN -20
724
-    #define Z_PROBE_OFFSET_RANGE_MAX 20
725
-  #endif
726
-#endif
727
-
728
 // @section extras
716
 // @section extras
729
 
717
 
730
 //
718
 //

+ 5
- 4
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h Wyświetl plik

417
   //#define USE_SMALL_INFOFONT
417
   //#define USE_SMALL_INFOFONT
418
 #endif // DOGLCD
418
 #endif // DOGLCD
419
 
419
 
420
-// @section more
420
+// @section safety
421
 
421
 
422
-// The hardware watchdog should reset the microcontroller disabling all outputs, in case the firmware gets stuck and doesn't do temperature regulation.
422
+// The hardware watchdog should reset the microcontroller disabling all outputs,
423
+// in case the firmware gets stuck and doesn't do temperature regulation.
423
 #define USE_WATCHDOG
424
 #define USE_WATCHDOG
424
 
425
 
425
 #if ENABLED(USE_WATCHDOG)
426
 #if ENABLED(USE_WATCHDOG)
510
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511
 #endif
512
 #endif
512
 
513
 
513
-// @section more
514
+// @section serial
514
 
515
 
515
-//The ASCII buffer for receiving from the serial:
516
+// The ASCII buffer for serial input
516
 #define MAX_CMD_SIZE 96
517
 #define MAX_CMD_SIZE 96
517
 #define BUFSIZE 4
518
 #define BUFSIZE 4
518
 
519
 

+ 1
- 1
Marlin/ultralcd.cpp Wyświetl plik

1684
   static void lcd_control_motion_menu() {
1684
   static void lcd_control_motion_menu() {
1685
     START_MENU();
1685
     START_MENU();
1686
     MENU_ITEM(back, MSG_CONTROL);
1686
     MENU_ITEM(back, MSG_CONTROL);
1687
-    #if ENABLED(AUTO_BED_LEVELING_FEATURE)
1687
+    #if HAS_BED_PROBE
1688
       MENU_ITEM_EDIT(float32, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
1688
       MENU_ITEM_EDIT(float32, MSG_ZPROBE_ZOFFSET, &zprobe_zoffset, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
1689
     #endif
1689
     #endif
1690
     // Manual bed leveling, Bed Z:
1690
     // Manual bed leveling, Bed Z:

Ładowanie…
Anuluj
Zapisz