Преглед изворни кода

Cleanup of old includes, add comments

Scott Lahteine пре 5 година
родитељ
комит
e8ed4329ea
3 измењених фајлова са 15 додато и 15 уклоњено
  1. 1
    1
      Marlin/Configuration_adv.h
  2. 4
    4
      Marlin/src/gcode/lcd/M0_M1.cpp
  3. 10
    10
      Marlin/src/pins/rambo/pins_EINSY_RETRO.h

+ 1
- 1
Marlin/Configuration_adv.h Прегледај датотеку

819
   // probing on a screwhead or hollow washer, probe near the edges.
819
   // probing on a screwhead or hollow washer, probe near the edges.
820
   //#define CALIBRATION_MEASURE_AT_TOP_EDGES
820
   //#define CALIBRATION_MEASURE_AT_TOP_EDGES
821
 
821
 
822
-  // Define pin which is read during calibration
822
+  // Define the pin to read during calibration
823
   #ifndef CALIBRATION_PIN
823
   #ifndef CALIBRATION_PIN
824
     #define CALIBRATION_PIN -1 // Override in pins.h or set to -1 to use your Z endstop
824
     #define CALIBRATION_PIN -1 // Override in pins.h or set to -1 to use your Z endstop
825
     #define CALIBRATION_PIN_INVERTING false // Set to true to invert the pin
825
     #define CALIBRATION_PIN_INVERTING false // Set to true to invert the pin

+ 4
- 4
Marlin/src/gcode/lcd/M0_M1.cpp Прегледај датотеку

20
  *
20
  *
21
  */
21
  */
22
 
22
 
23
-#include "../../inc/MarlinConfig.h"
23
+#include "../../inc/MarlinConfigPre.h"
24
 
24
 
25
 #if HAS_RESUME_CONTINUE
25
 #if HAS_RESUME_CONTINUE
26
 
26
 
27
 #include "../gcode.h"
27
 #include "../gcode.h"
28
-#include "../../module/stepper.h"
28
+#include "../../module/planner.h"
29
+
30
+#include "../../inc/MarlinConfig.h"
29
 
31
 
30
 #if HAS_LCD_MENU
32
 #if HAS_LCD_MENU
31
   #include "../../lcd/ultralcd.h"
33
   #include "../../lcd/ultralcd.h"
35
   #include "../../lcd/extensible_ui/ui_api.h"
37
   #include "../../lcd/extensible_ui/ui_api.h"
36
 #endif
38
 #endif
37
 
39
 
38
-#include "../../sd/cardreader.h"
39
-
40
 #if HAS_LEDS_OFF_FLAG
40
 #if HAS_LEDS_OFF_FLAG
41
   #include "../../feature/leds/printer_event_leds.h"
41
   #include "../../feature/leds/printer_event_leds.h"
42
 #endif
42
 #endif

+ 10
- 10
Marlin/src/pins/rambo/pins_EINSY_RETRO.h Прегледај датотеку

38
   #error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRetro."
38
   #error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRetro."
39
 #endif
39
 #endif
40
 
40
 
41
-// TMC2130 Diag Pins (currently just for reference)
41
+// TMC2130 Diag Pins
42
 #define X_DIAG_PIN         64
42
 #define X_DIAG_PIN         64
43
 #define Y_DIAG_PIN         69
43
 #define Y_DIAG_PIN         69
44
 #define Z_DIAG_PIN         68
44
 #define Z_DIAG_PIN         68
55
 
55
 
56
 #if DISABLED(SENSORLESS_HOMING)
56
 #if DISABLED(SENSORLESS_HOMING)
57
 
57
 
58
-  #define X_MIN_PIN        12
59
-  #define Y_MIN_PIN        11
60
-  #define Z_MIN_PIN        10
61
-  #define X_MAX_PIN        81
62
-  #define Y_MAX_PIN        57
58
+  #define X_MIN_PIN        12   // X-
59
+  #define Y_MIN_PIN        11   // Y-
60
+  #define Z_MIN_PIN        10   // Z-
61
+  #define X_MAX_PIN        81   // X+
62
+  #define Y_MAX_PIN        57   // Y+
63
 
63
 
64
 #else
64
 #else
65
 
65
 
66
   #if X_HOME_DIR < 0
66
   #if X_HOME_DIR < 0
67
     #define X_MIN_PIN      X_DIAG_PIN
67
     #define X_MIN_PIN      X_DIAG_PIN
68
-    #define X_MAX_PIN      81
68
+    #define X_MAX_PIN      81   // X+
69
   #else
69
   #else
70
-    #define X_MIN_PIN      12
70
+    #define X_MIN_PIN      12   // X-
71
     #define X_MAX_PIN      X_DIAG_PIN
71
     #define X_MAX_PIN      X_DIAG_PIN
72
   #endif
72
   #endif
73
 
73
 
74
   #if Y_HOME_DIR < 0
74
   #if Y_HOME_DIR < 0
75
     #define Y_MIN_PIN      Y_DIAG_PIN
75
     #define Y_MIN_PIN      Y_DIAG_PIN
76
-    #define Y_MAX_PIN      57
76
+    #define Y_MAX_PIN      57   // Y+
77
   #else
77
   #else
78
-    #define Y_MIN_PIN      11
78
+    #define Y_MIN_PIN      11   // Y-
79
     #define Y_MAX_PIN      Y_DIAG_PIN
79
     #define Y_MAX_PIN      Y_DIAG_PIN
80
   #endif
80
   #endif
81
 
81
 

Loading…
Откажи
Сачувај