Skip to content

fix(autoresearch): use one UART wire timing for RX stream and decode (#5197) - #5222

Merged
zackees merged 3 commits into
masterfrom
grind/5197-uart-rx-stream-timing
Nov 9, 2026
Merged

zackees merged 3 commits into
masterfrom
grind/5197-uart-rx-stream-timing

Conversation

@zackees

@zackees zackees commented Nov 9, 2026

Copy link
Copy Markdown
Member

Closes #5197

Resolves UART wire timing once via resolveUartWireTiming() before rx_channel->begin(), feeding both rx_config.stream_timing (make4PhaseTiming, gap tolerance 100us) and the UART decode(), removing the stream/decode mismatch. Non-UART drivers still use buildRxDecodeTiming().

Note: on RP2040/RP2350 lastWireTiming() is now read before TX; first frame falls back to uartWireTiming(kMaxUartBaudRate).

Also carries the pre-existing lint fix for ci/coderabbit_gate.py (same commit as the #5196 PR).

Verified: bash compile teensy41 / rp2040 --examples AutoResearch, bash lint green. Hardware autoresearch not run.

@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8d4639f and a16162e.

Files selected for processing: 4

  • .github/workflows/ci-labels.yml
  • ci/coderabbit_gate.py
  • ci/tests/test_coderabbit_gate.py
  • examples/AutoResearch/AutoResearchTest.cpp
  • 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.

Share

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 9, 2026
@github-actions github-actions Bot added the sanitized Title, body and conversation screened; review text requires separate screening. label Nov 9, 2026
@zackees
zackees added this pull request to the merge queue Nov 9, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 9, 2026
@github-actions github-actions Bot added sanitized Title, body and conversation screened; review text requires separate screening. and removed sanitized Title, body and conversation screened; review text requires separate screening. labels Nov 9, 2026
@zackees
zackees added this pull request to the merge queue Nov 9, 2026
Merged via the queue into master with commit 903c2ce Nov 9, 2026
126 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Nov 9, 2026
@zackees
zackees deleted the grind/5197-uart-rx-stream-timing branch November 17, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sanitized Title, body and conversation screened; review text requires separate screening.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

follow-up(#4723): AutoResearch UART RX decode uses different timing for stream and decode

1 participant