Remove the additional pin variable in Servo.cpp
as sugested by @c-born inhttps://github.com/MarlinFirmware/Marlin/issues/1885#issuecomment-92618240
This commit is contained in:
committed by
Richard Wackerbarth
parent
2cbb85fe88
commit
8504992e9f
@ -128,9 +128,7 @@ class Servo {
|
||||
int read(); // returns current pulse width as an angle between 0 and 180 degrees
|
||||
int readMicroseconds(); // returns current pulse width in microseconds for this servo (was read_us() in first release)
|
||||
bool attached(); // return true if this servo is attached, otherwise false
|
||||
#if defined(ENABLE_AUTO_BED_LEVELING) && PROBE_SERVO_DEACTIVATION_DELAY > 0
|
||||
int pin; // store the hardware pin of the servo
|
||||
#endif
|
||||
|
||||
private:
|
||||
uint8_t servoIndex; // index into the channel data for this servo
|
||||
int8_t min; // minimum is this value times 4 added to MIN_PULSE_WIDTH
|
||||
|
Reference in New Issue
Block a user