1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-04 18:03:20 +03:00

Merge pull request #569 from Makuna/ServoCleanUp

Servo clean up
This commit is contained in:
Ivan Grokhotkov 2015-07-20 15:59:11 +03:00
commit aa3a8a0bd3

View File

@ -165,9 +165,6 @@ uint8_t Servo::attach(int pin, int minUs, int maxUs)
{
ServoTimerSequence timerId;
Serial.print("_servoIndex ");
Serial.println(_servoIndex);
if (_servoIndex < MAX_SERVOS) {
pinMode(pin, OUTPUT); // set servo pin to output
digitalWrite(pin, LOW);