Repository navigation
Fix calling usermod overlay prior to setup - 16.x - #5935
willmmiles wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Direct overlay rendering wled00/FX.h, wled00/FX_fcn.cpp |
WS2812FX removes the show callback API. Its show() method calls handleOverlayDraw() to draw overlays. |
Bus clearing and initialization wled00/bus_manager.h, wled00/bus_manager.cpp, wled00/wled.cpp |
BusManager::blank() sets each pixel on every bus to black. When no relay pin is configured, beginStrip calls blank() and then BusManager::show(). |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- wled/WLED#5933: Removes the show callback, draws overlays from
WS2812FX::show(), and blanks buses duringbeginStrip(). This PR is its 16.x backport.
Suggested labels: bug, usermod
Suggested reviewers: dedehai
Merge Risk: 
Minimal · up to d4a98
-
The change is mergeable with no concrete current-head risk identified.
Pre-merge checks: 
4 · 
1
-
Failed checks: 1 warning Passed checks: 4 passedFull details: Docstring Coverage
-
Explanation
Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 4 functions across 4 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
This function is unused - no need to pay for the indirection.
If not using a relay, explicitly black out the LED data instead of calling the rendering engine at boot. This avoids calling usermod overlays prior to usermod setup.
c29a9ac to
f3b454f
Compare
|
Apologies for force-push, looks like the rebase dropped half the first commit. :( |
This comment was marked as outdated.
This comment was marked as outdated.
✅ Action performed
|
Backport of #5933.
Summary by CodeRabbit