Skip to content

style(autoresearch): consolidate consecutive identical #if guards (meta #2580 C4) - #2583

Merged
zackees merged 1 commit into
masterfrom
fix/2580-consolidate-esp32-guards
May 30, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/2580-consolidate-esp32-guards

Conversation

@zackees

@zackees zackees commented May 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Two back-to-back #if defined(ARDUINO_ARCH_ESP32) || defined(ESP_PLATFORM) blocks in examples/AutoResearch/AutoResearchWave8Expand.h:24-29 are merged into a single guard. Pure readability cleanup; no semantic change.

Addresses meta-issue #2580 finding C4 (originally CodeRabbit on #2539 — #2539 (review)).

Test plan

  • bash lint
  • CI green

Summary by CodeRabbit

  • Style
    • Minor formatting adjustments to code comments for consistency.

Review Change Stack

Two back-to-back #if defined(ARDUINO_ARCH_ESP32) || defined(ESP_PLATFORM)
blocks at lines 24-29 are merged into one. Pure readability cleanup.

Addresses CodeRabbit finding C4 from meta #2580 (originally #2539).
@coderabbitai

coderabbitai Bot commented May 30, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 472b546a-0e84-4ba0-9940-8d9b3f289b20

📥 Commits

Reviewing files that changed from the base of the PR and between 7df5ac9 and 8e147ba.

📒 Files selected for processing (1)
  • examples/AutoResearch/AutoResearchWave8Expand.h

📝 Walkthrough

Walkthrough

This PR adjusts the formatting of an inline comment in the Arduino.h include statement within the AutoResearchWave8Expand.h header file. The change is purely cosmetic and affects only comment whitespace with no impact on code logic or functionality.

Changes

Comment Formatting

Layer / File(s) Summary
Comment whitespace adjustment
examples/AutoResearch/AutoResearchWave8Expand.h
Inline comment spacing in the #include <Arduino.h> directive is reformatted with no functional impact.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

A whitespace dance, so neat and clean,
In comments where few eyes have seen,
Arduino's micros() nods in glee,
Our rabbit brushes code with care, you see! 🐰✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/2580-consolidate-esp32-guards

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 and usage tips.

@zackees
zackees merged commit a109faa into master May 30, 2026
4 of 5 checks passed
@zackees
zackees deleted the fix/2580-consolidate-esp32-guards branch May 30, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant