Browse Source

Merge pull request #4405 from thinkyhead/rc_theres_always_something

Move HAS_DIGIPOTSS to Conditionals.h
Scott Lahteine 8 years ago
parent
commit
c55b7d0750
2 changed files with 1 additions and 2 deletions
  1. 1
    0
      Marlin/Conditionals.h
  2. 0
    2
      Marlin/pins.h

+ 1
- 0
Marlin/Conditionals.h View File

@@ -746,6 +746,7 @@
746 746
   #define HAS_E2_STEP (PIN_EXISTS(E2_STEP))
747 747
   #define HAS_E3_STEP (PIN_EXISTS(E3_STEP))
748 748
   #define HAS_E4_STEP (PIN_EXISTS(E4_STEP))
749
+  #define HAS_DIGIPOTSS (PIN_EXISTS(DIGIPOTSS))
749 750
 
750 751
   #define HAS_MOTOR_CURRENT_PWM (PIN_EXISTS(MOTOR_CURRENT_PWM_XY) || PIN_EXISTS(MOTOR_CURRENT_PWM_Z) || PIN_EXISTS(MOTOR_CURRENT_PWM_E))
751 752
 

+ 0
- 2
Marlin/pins.h View File

@@ -432,6 +432,4 @@
432 432
     X_MS1_PIN, X_MS2_PIN, Y_MS1_PIN, Y_MS2_PIN, Z_MS1_PIN, Z_MS2_PIN \
433 433
   }
434 434
 
435
-#define HAS_DIGIPOTSS (PIN_EXISTS(DIGIPOTSS))
436
-
437 435
 #endif //__PINS_H

Loading…
Cancel
Save