We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca7bcc0 commit 0829e07Copy full SHA for 0829e07
cores/esp32/esp32-hal-ledc.c
@@ -63,6 +63,7 @@ static bool ledcDetachBus(void * bus){
63
ledc_channel_handle_t handle = (ledc_channel_handle_t)bus;
64
ledc_handle.used_channels &= ~(1UL << handle->channel);
65
pinMatrixOutDetach(handle->pin, false, false);
66
+ free(handle);
67
return true;
68
}
69
0 commit comments