|
@@ -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
|