Allow us to use loadPalette() by moving from protected to public#5535
Allow us to use loadPalette() by moving from protected to public#5535BobLoeffler68 wants to merge 7 commits intowled:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughWhitespace normalization in a usermod source file and a visibility change in the FX header: Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
|
looks good, please revert the unrelated whitespace changes, also move the changed line up by one not leaving a blank line before it. |
Done. Thx. |
|
FYI there are other places in WLED code that could use public method. |
We currently cannot use loadPalette() to change palettes via the code because it's a protected member, not a public member. I want to use it to load random palettes in an FX, so I have moved loadPalette() to the Public section in FX.h I tested the change and it works.
Summary by CodeRabbit
Refactor
Style