소스 검색

Pins should always be defined (even for disabled features)

Scott Lahteine 9 년 전
부모
커밋
7f81aa7ff3
5개의 변경된 파일7개의 추가작업 그리고 19개의 파일을 삭제
  1. 1
    4
      Marlin/pins_A4JP.h
  2. 1
    3
      Marlin/pins_PRINTRBOARD.h
  3. 1
    3
      Marlin/pins_PRINTRBOARD_REVF.h
  4. 2
    4
      Marlin/pins_RAMBO.h
  5. 2
    5
      Marlin/pins_RAMPS_14.h

+ 1
- 4
Marlin/pins_A4JP.h 파일 보기

74
   #endif
74
   #endif
75
 #endif // VIKI2/miniVIKI
75
 #endif // VIKI2/miniVIKI
76
 
76
 
77
-#if ENABLED(FILAMENT_SENSOR)
78
-  //Filip added pin for Filament sensor analog input
79
-  #define FILWIDTH_PIN        3
80
-#endif
77
+#define FILWIDTH_PIN        3  // ANALOG NUMBERING
81
 
78
 
82
 /************************************************
79
 /************************************************
83
  * Rambo pin assignments old
80
  * Rambo pin assignments old

+ 1
- 3
Marlin/pins_PRINTRBOARD.h 파일 보기

79
 #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
79
 #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
80
 #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
80
 #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
81
 
81
 
82
-#if ENABLED(FILAMENT_SENSOR)
83
-  #define FILWIDTH_PIN      2
84
-#endif
82
+#define FILWIDTH_PIN        2  // ANALOG NUMBERING
85
 
83
 
86
 #define TEMP_1_PIN         -1
84
 #define TEMP_1_PIN         -1
87
 #define TEMP_2_PIN         -1
85
 #define TEMP_2_PIN         -1

+ 1
- 3
Marlin/pins_PRINTRBOARD_REVF.h 파일 보기

73
 #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
73
 #define TEMP_0_PIN          1  // Extruder / Analog pin numbering
74
 #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
74
 #define TEMP_BED_PIN        0  // Bed / Analog pin numbering
75
 
75
 
76
-#if ENABLED(FILAMENT_SENSOR)
77
-  #define FILWIDTH_PIN      2
78
-#endif
76
+#define FILWIDTH_PIN        2  // ANALOG NUMBERING
79
 
77
 
80
 #define TEMP_1_PIN         -1
78
 #define TEMP_1_PIN         -1
81
 #define TEMP_2_PIN         -1
79
 #define TEMP_2_PIN         -1

+ 2
- 4
Marlin/pins_RAMBO.h 파일 보기

112
 #define LED_PIN            13
112
 #define LED_PIN            13
113
 #define FAN_PIN            8
113
 #define FAN_PIN            8
114
 
114
 
115
+#define FILWIDTH_PIN        3  // ANALOG NUMBERING
116
+
115
 /**********************************************************
117
 /**********************************************************
116
   Fan Pins
118
   Fan Pins
117
   Fan_0 8
119
   Fan_0 8
201
   #endif
203
   #endif
202
 #endif // VIKI2/miniVIKI
204
 #endif // VIKI2/miniVIKI
203
 
205
 
204
-#if ENABLED(FILAMENT_SENSOR)
205
-  //Filip added pin for Filament sensor analog input
206
-  #define FILWIDTH_PIN        3
207
-#endif

+ 2
- 5
Marlin/pins_RAMPS_14.h 파일 보기

91
 #define SDSS               53
91
 #define SDSS               53
92
 #define LED_PIN            13
92
 #define LED_PIN            13
93
 
93
 
94
-#if ENABLED(FILAMENT_SENSOR)  // FMM added for Filament Extruder
95
-  // define analog pin for the filament width sensor input
96
-  // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
97
-  #define FILWIDTH_PIN      5
98
-#endif
94
+// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
95
+#define FILWIDTH_PIN        5 // ANALOG NUMBERING
99
 
96
 
100
 #if ENABLED(Z_MIN_PROBE_ENDSTOP)
97
 #if ENABLED(Z_MIN_PROBE_ENDSTOP)
101
   // Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop.
98
   // Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop.

Loading…
취소
저장