From 58c4473beafee320f00138daff90361b678fe4d6 Mon Sep 17 00:00:00 2001 From: John Davis Date: Fri, 19 Dec 2014 17:18:55 -0500 Subject: [PATCH] Update Servo.cpp Changed AUTO_BED_LEVELING to AUTO_BED_COMPENSATION --- Marlin/Servo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Servo.cpp b/Marlin/Servo.cpp index 5f8c7efe30..2f766188c4 100644 --- a/Marlin/Servo.cpp +++ b/Marlin/Servo.cpp @@ -262,7 +262,7 @@ uint8_t Servo::attach(int pin) uint8_t Servo::attach(int pin, int min, int max) { if(this->servoIndex < MAX_SERVOS ) { -#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0) +#if defined (ENABLE_AUTO_BED_COMPENSATION) && (PROBE_SERVO_DEACTIVATION_DELAY > 0) if (pin > 0) this->pin = pin; else pin = this->pin; #endif pinMode( pin, OUTPUT) ; // set servo pin to output