Skip to content

Commit

Permalink
Update Servo.cpp
Browse files Browse the repository at this point in the history
Changed AUTO_BED_LEVELING to AUTO_BED_COMPENSATION
  • Loading branch information
ei8htohms committed Dec 19, 2014
1 parent 825c460 commit 58c4473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/Servo.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 58c4473

Please sign in to comment.