Skip to content

fix(teensy4): move ObjectFLED invalid-pin warning out of the frame path - #4625

Merged
zackees merged 1 commit into
masterfrom
fix/teensy4-objectfled-lint
Sep 25, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/teensy4-objectfled-lint

Conversation

@zackees

@zackees zackees commented Sep 25, 2026

Copy link
Copy Markdown
Member

Fixes a bash lint failure introduced by #4624 (follow-up to #4617): the restored invalid-pin FL_WARN sat inside startTimingGroup(), an autoresearch-runtime-output-lint protected region. The one-time validation + warning now happens in enqueue() (per-pin u64 latch, no allocation); startTimingGroup() keeps the FL_LOG_OBJECTFLED skip.

Verification: bash lint C++ linting passes; bash test channel_engine_objectfled pass; bash compile teensy41 --examples Blink OK. Hardware validation deferred to #4623.

🤖 Generated with Claude Code

#4624 put the one-time invalid-pin FL_WARN inside startTimingGroup(),
which is a protected autoresearch-runtime-output region, so `bash lint`
failed on master. Validate and warn once per pin in enqueue() instead;
startTimingGroup() keeps its FL_LOG_OBJECTFLED skip. Follow-up to #4617.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@zackees
zackees merged commit b19af9e into master Sep 25, 2026
57 of 58 checks passed
@zackees
zackees deleted the fix/teensy4-objectfled-lint branch September 25, 2026 05:10
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Sep 25, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Sep 25, 2026
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Review in Change Stack →

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 configuration

Configuration used: Repository: FastLED/FastLED/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 929cc0b6-dbad-4f5e-8241-820bc8081d5b

📥 Commits

Reviewing files that changed from the base of the PR and between 2990b61 and 6dacbf6.

📒 Files selected for processing (2)
  • src/platforms/arm/teensy/teensy4_common/drivers/objectfled/channel_engine_objectfled.cpp.hpp
  • src/platforms/arm/teensy/teensy4_common/drivers/objectfled/channel_engine_objectfled.h
 ________________________________________________________________________
< I'm CodeRabbit. I review the code you never knew you needed reviewing. >
 ------------------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant