Browse Source

Move HAS_DIGIPOTSS to conditionals

Scott Lahteine 8 years ago
parent
commit
4f2ff46ab9
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

@@ -735,6 +735,7 @@
735 735
   #define HAS_E2_STEP (PIN_EXISTS(E2_STEP))
736 736
   #define HAS_E3_STEP (PIN_EXISTS(E3_STEP))
737 737
   #define HAS_E4_STEP (PIN_EXISTS(E4_STEP))
738
+  #define HAS_DIGIPOTSS (PIN_EXISTS(DIGIPOTSS))
738 739
 
739 740
   #define HAS_MOTOR_CURRENT_PWM (PIN_EXISTS(MOTOR_CURRENT_PWM_XY) || PIN_EXISTS(MOTOR_CURRENT_PWM_Z) || PIN_EXISTS(MOTOR_CURRENT_PWM_E))
740 741
 

+ 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