madhephaestus / ESP32Servo

Arduino-compatible servo library for the ESP32
139 stars 55 forks source link

Servo detach does not free timer #5

Closed madhephaestus closed 5 years ago

madhephaestus commented 5 years ago

Referenced here: https://github.com/CommonWealthRobotics/bowler-rpc-arduino/issues/1

This issue is in ESP32PWM class. Detach does not deallocated the timer, it merely detaches the pin from the PWM stack.