We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc04784 commit a7c277bCopy full SHA for a7c277b
src/esp32/Servo.cpp
@@ -48,7 +48,7 @@ class ServoImpl {
48
49
~ServoImpl() {
50
#if ESP_IDF_VERSION_MAJOR < 5
51
- ledcDetachPin(channel);
+ ledcDetachPin(pin);
52
#else
53
ledcDetach(pin);
54
#endif
0 commit comments