ソースを参照

Merge pull request #4066 from thinkyhead/rc_M851_with_probe

Make M851 standard with a bed probe
Scott Lahteine 8年前
コミット
bd4ec727e7
42個のファイルの変更155行の追加366行の削除
  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 ファイルの表示

@@ -384,24 +384,6 @@
384 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 387
    * Host keep alive
406 388
    */
407 389
   #ifndef DEFAULT_KEEPALIVE_INTERVAL
@@ -776,6 +758,30 @@
776 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 785
    * Delta radius/rod trimmers
780 786
    */
781 787
   #if ENABLED(DELTA)

+ 1
- 13
Marlin/Configuration.h ファイルの表示

@@ -691,7 +691,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
691 691
 #endif
692 692
 
693 693
 
694
-// @section movement
694
+// @section motion
695 695
 
696 696
 /**
697 697
  * MOVEMENT SETTINGS
@@ -719,18 +719,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
719 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 722
 // @section extras
735 723
 
736 724
 //

+ 5
- 4
Marlin/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 1
Marlin/Marlin.h ファイルの表示

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

+ 9
- 6
Marlin/Marlin_main.cpp ファイルの表示

@@ -364,9 +364,12 @@ static millis_t stepper_inactive_time = (DEFAULT_STEPPER_DEACTIVE_TIME) * 1000UL
364 364
 
365 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 371
 #if ENABLED(AUTO_BED_LEVELING_FEATURE)
368 372
   int xy_travel_speed = XY_TRAVEL_SPEED;
369
-  float zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
370 373
   bool bed_leveling_in_progress = false;
371 374
 #endif
372 375
 
@@ -1482,7 +1485,7 @@ static void set_axis_is_at_home(AxisEnum axis) {
1482 1485
     current_position[axis] = base_home_pos(axis) + home_offset[axis];
1483 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 1489
       if (axis == Z_AXIS) {
1487 1490
         current_position[Z_AXIS] -= zprobe_zoffset;
1488 1491
         #if ENABLED(DEBUG_LEVELING_FEATURE)
@@ -6224,9 +6227,9 @@ inline void gcode_M503() {
6224 6227
 
6225 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 6234
     SERIAL_ECHO_START;
6232 6235
     SERIAL_ECHOPGM(MSG_ZPROBE_ZOFFSET);
@@ -6252,7 +6255,7 @@ inline void gcode_M503() {
6252 6255
     SERIAL_EOL;
6253 6256
   }
6254 6257
 
6255
-#endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
6258
+#endif // HAS_BED_PROBE
6256 6259
 
6257 6260
 #if ENABLED(FILAMENTCHANGEENABLE)
6258 6261
 
@@ -7361,7 +7364,7 @@ void process_next_command() {
7361 7364
 
7362 7365
       #ifdef CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
7363 7366
         case CUSTOM_M_CODE_SET_Z_PROBE_OFFSET:
7364
-          gcode_SET_Z_PROBE_OFFSET();
7367
+          gcode_M851();
7365 7368
           break;
7366 7369
       #endif // CUSTOM_M_CODE_SET_Z_PROBE_OFFSET
7367 7370
 

+ 9
- 16
Marlin/configuration_store.cpp ファイルの表示

@@ -210,7 +210,7 @@ void Config_StoreSettings()  {
210 210
     for (uint8_t q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_WRITE_VAR(i, dummy);
211 211
   #endif // MESH_BED_LEVELING
212 212
 
213
-  #if DISABLED(AUTO_BED_LEVELING_FEATURE)
213
+  #if !HAS_BED_PROBE
214 214
     float zprobe_zoffset = 0;
215 215
   #endif
216 216
   EEPROM_WRITE_VAR(i, zprobe_zoffset);
@@ -389,7 +389,7 @@ void Config_RetrieveSettings() {
389 389
       for (uint8_t q = 0; q < mesh_num_x * mesh_num_y; q++) EEPROM_READ_VAR(i, dummy);
390 390
     #endif // MESH_BED_LEVELING
391 391
 
392
-    #if DISABLED(AUTO_BED_LEVELING_FEATURE)
392
+    #if !HAS_BED_PROBE
393 393
       float zprobe_zoffset = 0;
394 394
     #endif
395 395
     EEPROM_READ_VAR(i, zprobe_zoffset);
@@ -554,7 +554,7 @@ void Config_ResetDefault() {
554 554
     mbl.reset();
555 555
   #endif
556 556
 
557
-  #if ENABLED(AUTO_BED_LEVELING_FEATURE)
557
+  #if HAS_BED_PROBE
558 558
     zprobe_zoffset = Z_PROBE_OFFSET_FROM_EXTRUDER;
559 559
   #endif
560 560
 
@@ -927,20 +927,13 @@ void Config_PrintSettings(bool forReplay) {
927 927
   /**
928 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 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 937
     SERIAL_EOL;
945 938
   #endif
946 939
 }

+ 1
- 13
Marlin/example_configurations/Cartesio/Configuration.h ファイルの表示

@@ -690,7 +690,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
690 690
 #endif
691 691
 
692 692
 
693
-// @section movement
693
+// @section motion
694 694
 
695 695
 /**
696 696
  * MOVEMENT SETTINGS
@@ -718,18 +718,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
718 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 721
 // @section extras
734 722
 
735 723
 //

+ 5
- 4
Marlin/example_configurations/Cartesio/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 13
Marlin/example_configurations/Felix/Configuration.h ファイルの表示

@@ -673,7 +673,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
673 673
 #endif
674 674
 
675 675
 
676
-// @section movement
676
+// @section motion
677 677
 
678 678
 /**
679 679
  * MOVEMENT SETTINGS
@@ -702,18 +702,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
702 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 705
 // @section extras
718 706
 
719 707
 //

+ 5
- 4
Marlin/example_configurations/Felix/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 13
Marlin/example_configurations/Felix/DUAL/Configuration.h ファイルの表示

@@ -671,7 +671,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
671 671
 #endif
672 672
 
673 673
 
674
-// @section movement
674
+// @section motion
675 675
 
676 676
 /**
677 677
  * MOVEMENT SETTINGS
@@ -700,18 +700,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
700 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 703
 // @section extras
716 704
 
717 705
 //

+ 1
- 13
Marlin/example_configurations/Hephestos/Configuration.h ファイルの表示

@@ -683,7 +683,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
683 683
 #endif
684 684
 
685 685
 
686
-// @section movement
686
+// @section motion
687 687
 
688 688
 /**
689 689
  * MOVEMENT SETTINGS
@@ -711,18 +711,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
711 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 714
 // @section extras
727 715
 
728 716
 //

+ 5
- 4
Marlin/example_configurations/Hephestos/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 4
- 11
Marlin/example_configurations/Hephestos_2/Configuration.h ファイルの表示

@@ -685,7 +685,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
685 685
 #endif
686 686
 
687 687
 
688
-// @section movement
688
+// @section motion
689 689
 
690 690
 /**
691 691
  * MOVEMENT SETTINGS
@@ -713,17 +713,10 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
713 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 721
 // @section extras
729 722
 

+ 5
- 4
Marlin/example_configurations/Hephestos_2/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   #define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 13
Marlin/example_configurations/K8200/Configuration.h ファイルの表示

@@ -708,7 +708,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
708 708
 #endif
709 709
 
710 710
 
711
-// @section movement
711
+// @section motion
712 712
 
713 713
 /**
714 714
  * MOVEMENT SETTINGS
@@ -736,18 +736,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
736 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 739
 // @section extras
752 740
 
753 741
 //

+ 5
- 4
Marlin/example_configurations/K8200/Configuration_adv.h ファイルの表示

@@ -423,9 +423,10 @@
423 423
   //#define USE_SMALL_INFOFONT
424 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 430
 #define USE_WATCHDOG
430 431
 
431 432
 #if ENABLED(USE_WATCHDOG)
@@ -516,9 +517,9 @@ const unsigned int dropsegments = 2; //everything with less than this number of
516 517
   #define BLOCK_BUFFER_SIZE 32 // maximize block buffer
517 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 523
 #define MAX_CMD_SIZE 96
523 524
 #define BUFSIZE 4
524 525
 

+ 1
- 13
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h ファイルの表示

@@ -691,7 +691,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
691 691
 #endif
692 692
 
693 693
 
694
-// @section movement
694
+// @section motion
695 695
 
696 696
 /**
697 697
  * MOVEMENT SETTINGS
@@ -719,18 +719,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
719 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 722
 // @section extras
735 723
 
736 724
 //

+ 1
- 13
Marlin/example_configurations/RigidBot/Configuration.h ファイルの表示

@@ -685,7 +685,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
685 685
 #endif
686 686
 
687 687
 
688
-// @section movement
688
+// @section motion
689 689
 
690 690
 /**
691 691
  * MOVEMENT SETTINGS
@@ -714,18 +714,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
714 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 717
 // @section extras
730 718
 
731 719
 //

+ 5
- 4
Marlin/example_configurations/RigidBot/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 8
518 519
 

+ 1
- 13
Marlin/example_configurations/SCARA/Configuration.h ファイルの表示

@@ -699,7 +699,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
699 699
 #endif
700 700
 
701 701
 
702
-// @section movement
702
+// @section motion
703 703
 
704 704
 /**
705 705
  * MOVEMENT SETTINGS
@@ -727,18 +727,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
727 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 730
 // @section extras
743 731
 
744 732
 //

+ 5
- 4
Marlin/example_configurations/SCARA/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 13
Marlin/example_configurations/TAZ4/Configuration.h ファイルの表示

@@ -712,7 +712,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
712 712
 #endif
713 713
 
714 714
 
715
-// @section movement
715
+// @section motion
716 716
 
717 717
 /**
718 718
  * MOVEMENT SETTINGS
@@ -740,18 +740,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
740 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 743
 // @section extras
756 744
 
757 745
 //

+ 5
- 4
Marlin/example_configurations/TAZ4/Configuration_adv.h ファイルの表示

@@ -425,9 +425,10 @@
425 425
   //#define USE_SMALL_INFOFONT
426 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 432
 #define USE_WATCHDOG
432 433
 
433 434
 #if ENABLED(USE_WATCHDOG)
@@ -518,9 +519,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
518 519
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
519 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 525
 #define MAX_CMD_SIZE 96
525 526
 #define BUFSIZE 4
526 527
 

+ 1
- 13
Marlin/example_configurations/WITBOX/Configuration.h ファイルの表示

@@ -683,7 +683,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
683 683
 #endif
684 684
 
685 685
 
686
-// @section movement
686
+// @section motion
687 687
 
688 688
 /**
689 689
  * MOVEMENT SETTINGS
@@ -711,18 +711,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
711 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 714
 // @section extras
727 715
 
728 716
 //

+ 5
- 4
Marlin/example_configurations/WITBOX/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 13
Marlin/example_configurations/adafruit/ST7565/Configuration.h ファイルの表示

@@ -691,7 +691,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
691 691
 #endif
692 692
 
693 693
 
694
-// @section movement
694
+// @section motion
695 695
 
696 696
 /**
697 697
  * MOVEMENT SETTINGS
@@ -719,18 +719,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
719 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 722
 // @section extras
735 723
 
736 724
 //

+ 1
- 13
Marlin/example_configurations/delta/biv2.5/Configuration.h ファイルの表示

@@ -777,7 +777,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
777 777
 #endif
778 778
 
779 779
 
780
-// @section movement
780
+// @section motion
781 781
 
782 782
 /**
783 783
  * MOVEMENT SETTINGS
@@ -808,18 +808,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
808 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 811
 // @section extras
824 812
 
825 813
 //

+ 5
- 4
Marlin/example_configurations/delta/biv2.5/Configuration_adv.h ファイルの表示

@@ -419,9 +419,10 @@
419 419
   //#define USE_SMALL_INFOFONT
420 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 426
 #define USE_WATCHDOG
426 427
 
427 428
 #if ENABLED(USE_WATCHDOG)
@@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
512 513
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513 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 519
 #define MAX_CMD_SIZE 96
519 520
 #define BUFSIZE 4
520 521
 

+ 1
- 13
Marlin/example_configurations/delta/generic/Configuration.h ファイルの表示

@@ -771,7 +771,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
771 771
 #endif
772 772
 
773 773
 
774
-// @section movement
774
+// @section motion
775 775
 
776 776
 /**
777 777
  * MOVEMENT SETTINGS
@@ -802,18 +802,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
802 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 805
 // @section extras
818 806
 
819 807
 //

+ 5
- 4
Marlin/example_configurations/delta/generic/Configuration_adv.h ファイルの表示

@@ -419,9 +419,10 @@
419 419
   //#define USE_SMALL_INFOFONT
420 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 426
 #define USE_WATCHDOG
426 427
 
427 428
 #if ENABLED(USE_WATCHDOG)
@@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
512 513
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513 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 519
 #define MAX_CMD_SIZE 96
519 520
 #define BUFSIZE 4
520 521
 

+ 1
- 13
Marlin/example_configurations/delta/kossel_mini/Configuration.h ファイルの表示

@@ -774,7 +774,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
774 774
 #endif
775 775
 
776 776
 
777
-// @section movement
777
+// @section motion
778 778
 
779 779
 /**
780 780
  * MOVEMENT SETTINGS
@@ -805,18 +805,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
805 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 808
 // @section extras
821 809
 
822 810
 //

+ 5
- 4
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h ファイルの表示

@@ -418,9 +418,10 @@
418 418
   //#define USE_SMALL_INFOFONT
419 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 425
 #define USE_WATCHDOG
425 426
 
426 427
 #if ENABLED(USE_WATCHDOG)
@@ -511,9 +512,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
511 512
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
512 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 518
 #define MAX_CMD_SIZE 96
518 519
 #define BUFSIZE 4
519 520
 

+ 4
- 11
Marlin/example_configurations/delta/kossel_pro/Configuration.h ファイルの表示

@@ -768,7 +768,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
768 768
 #endif
769 769
 
770 770
 
771
-// @section movement
771
+// @section motion
772 772
 
773 773
 /**
774 774
  * MOVEMENT SETTINGS
@@ -805,17 +805,10 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
805 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 813
 // @section extras
821 814
 

+ 5
- 4
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h ファイルの表示

@@ -423,9 +423,10 @@
423 423
   //#define USE_SMALL_INFOFONT
424 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 430
 #define USE_WATCHDOG
430 431
 
431 432
 #if ENABLED(USE_WATCHDOG)
@@ -516,9 +517,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
516 517
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
517 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 523
 #define MAX_CMD_SIZE 96
523 524
 #define BUFSIZE 4
524 525
 

+ 1
- 13
Marlin/example_configurations/delta/kossel_xl/Configuration.h ファイルの表示

@@ -769,7 +769,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
769 769
 #endif
770 770
 
771 771
 
772
-// @section movement
772
+// @section motion
773 773
 
774 774
 /**
775 775
  * MOVEMENT SETTINGS
@@ -807,18 +807,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
807 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 810
 // @section extras
823 811
 
824 812
 //

+ 5
- 4
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h ファイルの表示

@@ -419,9 +419,10 @@
419 419
   //#define USE_SMALL_INFOFONT
420 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 426
 #define USE_WATCHDOG
426 427
 
427 428
 #if ENABLED(USE_WATCHDOG)
@@ -512,9 +513,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
512 513
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
513 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 519
 #define MAX_CMD_SIZE 96
519 520
 #define BUFSIZE 4
520 521
 

+ 1
- 13
Marlin/example_configurations/makibox/Configuration.h ファイルの表示

@@ -694,7 +694,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
694 694
 #endif
695 695
 
696 696
 
697
-// @section movement
697
+// @section motion
698 698
 
699 699
 /**
700 700
  * MOVEMENT SETTINGS
@@ -722,18 +722,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
722 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 725
 // @section extras
738 726
 
739 727
 //

+ 5
- 4
Marlin/example_configurations/makibox/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 13
Marlin/example_configurations/tvrrug/Round2/Configuration.h ファイルの表示

@@ -681,7 +681,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
681 681
 #endif
682 682
 
683 683
 
684
-// @section movement
684
+// @section motion
685 685
 
686 686
 /**
687 687
  * MOVEMENT SETTINGS
@@ -713,18 +713,6 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo
713 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 716
 // @section extras
729 717
 
730 718
 //

+ 5
- 4
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h ファイルの表示

@@ -417,9 +417,10 @@
417 417
   //#define USE_SMALL_INFOFONT
418 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 424
 #define USE_WATCHDOG
424 425
 
425 426
 #if ENABLED(USE_WATCHDOG)
@@ -510,9 +511,9 @@ const unsigned int dropsegments = 5; //everything with less than this number of
510 511
   #define BLOCK_BUFFER_SIZE 16 // maximize block buffer
511 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 517
 #define MAX_CMD_SIZE 96
517 518
 #define BUFSIZE 4
518 519
 

+ 1
- 1
Marlin/ultralcd.cpp ファイルの表示

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

読み込み中…
キャンセル
保存