Browse Source

Update Servo.cpp

Changed AUTO_BED_LEVELING to AUTO_BED_COMPENSATION
John Davis 9 years ago
parent
commit
58c4473bea
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Servo.cpp

+ 1
- 1
Marlin/Servo.cpp View File

@@ -262,7 +262,7 @@ uint8_t Servo::attach(int pin)
262 262
 uint8_t Servo::attach(int pin, int min, int max)
263 263
 {
264 264
   if(this->servoIndex < MAX_SERVOS ) {
265
-#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
265
+#if defined (ENABLE_AUTO_BED_COMPENSATION) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
266 266
     if (pin > 0) this->pin = pin; else pin = this->pin;
267 267
 #endif
268 268
     pinMode( pin, OUTPUT) ;                                   // set servo pin to output

Loading…
Cancel
Save