Repository navigation
fix(teensy4): review follow-ups for the ObjectFLED slim bridge - #4629
Merged
Merged
Conversation
- ObjectFLED: re-enqueueing the same strip before show() is a silent no-op, not a false 'pin already in use' error. - FlexIO init registers the BusTraits<FLEX_IO,1> singleton instead of a second engine that later registration would replace. - Fix stale ObjectFLED priority comment (4, not 5). Follow-up to #4624 / #4599. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to the code review of #4624. Part of #4580 / #4599.
ChannelEngineObjectFLED::enqueuenow returns silently when the sameChannelDatais enqueued twice beforeshow()(for exampleshowLeds()called twice in one frame). Previously that printed a one-time "Pin N is already in use - strip disabled" although nothing was disabled. Two different strips on one pin are still rejected with the warning. New host test:ObjectFLED engine - same strip enqueued twice is sent once.ChannelEngineFlexIO. It now registers theBusTraits<Bus::FLEX_IO, 1>singleton at the same priority 8, so a later traits registration no longer replaces a different object and drops its queued frames.BusTraits<Bus::FLEX_IO,1>::registerWithManager()still registers at its default priority 3, so calling it after init re-adds the same object at priority 3.Validation:
bash lint --cppis clean.bash test channel_engine_objectfledpasses.bash test --cpp: 313/313 unit tests pass.bash compilepasses for teensy41 Blink and BlinkParallel, and teensy40 Blink.🤖 Generated with Claude Code