-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ledc): Fix freeing channel if not used anymore #10094
Conversation
👋 Hello P-R-O-C-H-Y, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 56 files - 83 56 suites - 83 5m 0s ⏱️ - 1h 37m 52s Results for commit 82512da. ± Comparison against base commit f5be003. This pull request removes 9 tests.
♻️ This comment has been updated with latest results. |
Memory usage test (comparing PR against master branch)The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.
Click to expand the detailed deltas report [usage change in BYTES]
|
Description of Change
This PR fixes LEDC channels being not cleared in used_channels on detach, as the bus was still set in the Peripheral Manager causing to always found a pin using the channel. Bus is cleared after successful return from the DetachBus function.
Thanks @nuclearcat for reporting the issue.
Tests scenarios
Locally
Related links
Related #10089