Update Servo.cpp
Changed AUTO_BED_LEVELING to AUTO_BED_COMPENSATION
This commit is contained in:
parent
825c46024d
commit
58c4473bea
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ uint8_t Servo::attach(int pin)
|
||||||
uint8_t Servo::attach(int pin, int min, int max)
|
uint8_t Servo::attach(int pin, int min, int max)
|
||||||
{
|
{
|
||||||
if(this->servoIndex < MAX_SERVOS ) {
|
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;
|
if (pin > 0) this->pin = pin; else pin = this->pin;
|
||||||
#endif
|
#endif
|
||||||
pinMode( pin, OUTPUT) ; // set servo pin to output
|
pinMode( pin, OUTPUT) ; // set servo pin to output
|
||||||
|
|
Reference in a new issue