Browse Source

Pins should always be defined (even for disabled features)

pull/1/head
Scott Lahteine 9 years ago
parent
commit
7f81aa7ff3
  1. 5
      Marlin/pins_A4JP.h
  2. 4
      Marlin/pins_PRINTRBOARD.h
  3. 4
      Marlin/pins_PRINTRBOARD_REVF.h
  4. 6
      Marlin/pins_RAMBO.h
  5. 5
      Marlin/pins_RAMPS_14.h

5
Marlin/pins_A4JP.h

@ -74,10 +74,7 @@
#endif #endif
#endif // VIKI2/miniVIKI #endif // VIKI2/miniVIKI
#if ENABLED(FILAMENT_SENSOR) #define FILWIDTH_PIN 3 // ANALOG NUMBERING
//Filip added pin for Filament sensor analog input
#define FILWIDTH_PIN 3
#endif
/************************************************ /************************************************
* Rambo pin assignments old * Rambo pin assignments old

4
Marlin/pins_PRINTRBOARD.h

@ -79,9 +79,7 @@
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#if ENABLED(FILAMENT_SENSOR) #define FILWIDTH_PIN 2 // ANALOG NUMBERING
#define FILWIDTH_PIN 2
#endif
#define TEMP_1_PIN -1 #define TEMP_1_PIN -1
#define TEMP_2_PIN -1 #define TEMP_2_PIN -1

4
Marlin/pins_PRINTRBOARD_REVF.h

@ -73,9 +73,7 @@
#define TEMP_0_PIN 1 // Extruder / Analog pin numbering #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
#define TEMP_BED_PIN 0 // Bed / Analog pin numbering #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
#if ENABLED(FILAMENT_SENSOR) #define FILWIDTH_PIN 2 // ANALOG NUMBERING
#define FILWIDTH_PIN 2
#endif
#define TEMP_1_PIN -1 #define TEMP_1_PIN -1
#define TEMP_2_PIN -1 #define TEMP_2_PIN -1

6
Marlin/pins_RAMBO.h

@ -112,6 +112,8 @@
#define LED_PIN 13 #define LED_PIN 13
#define FAN_PIN 8 #define FAN_PIN 8
#define FILWIDTH_PIN 3 // ANALOG NUMBERING
/********************************************************** /**********************************************************
Fan Pins Fan Pins
Fan_0 8 Fan_0 8
@ -201,7 +203,3 @@
#endif #endif
#endif // VIKI2/miniVIKI #endif // VIKI2/miniVIKI
#if ENABLED(FILAMENT_SENSOR)
//Filip added pin for Filament sensor analog input
#define FILWIDTH_PIN 3
#endif

5
Marlin/pins_RAMPS_14.h

@ -91,11 +91,8 @@
#define SDSS 53 #define SDSS 53
#define LED_PIN 13 #define LED_PIN 13
#if ENABLED(FILAMENT_SENSOR) // FMM added for Filament Extruder
// define analog pin for the filament width sensor input
// Use the RAMPS 1.4 Analog input 5 on the AUX2 connector // Use the RAMPS 1.4 Analog input 5 on the AUX2 connector
#define FILWIDTH_PIN 5 #define FILWIDTH_PIN 5 // ANALOG NUMBERING
#endif
#if ENABLED(Z_MIN_PROBE_ENDSTOP) #if ENABLED(Z_MIN_PROBE_ENDSTOP)
// Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop. // Define a pin to use as the signal pin on Arduino for the Z_PROBE endstop.

Loading…
Cancel
Save