Skip to content

docs(gui): correct stale wireDaxIq() call-site comment (#2530)#3566

Merged
ten9876 merged 1 commit into
aethersdr:mainfrom
Ozy311:docs/2530-wiredaxiq-comment
Jun 14, 2026
Merged

docs(gui): correct stale wireDaxIq() call-site comment (#2530)#3566
ten9876 merged 1 commit into
aethersdr:mainfrom
Ozy311:docs/2530-wiredaxiq-comment

Conversation

@Ozy311

@Ozy311 Ozy311 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

#2530 asks to extract a wireDaxIqRouting() helper to collapse the duplicated DAX-IQ connect() wiring that #2524 copied between the MainWindow constructor and startDax().

That refactor has already landed — the duplication is gone:

So there is nothing left to extract — current main already has the single platform-agnostic helper #2530 asked for (it exists as wireDaxIq, not wireDaxIqRouting).

What this PR does

Fixes the one stale residual: the call-site comment above wireDaxIq(); still read "(no-audio-bridge platforms)", which is no longer accurate after #3522. Updated to reflect the all-platforms wiring. Comment-only; no code/behaviour change.

Closes #2530.

If you'd rather simply close #2530 as already-resolved instead of taking a comment-only PR, that's completely fine — flagging the evidence either way.

Test plan

  • Incremental ninja -C build clean on Linux (Nobara, Qt 6.10.3) — comment-only, no behaviour change.

73, Ozy K6OZY
AI compute partnership: cloaked.agency — drafted with Don, our VP of Engineering agent, on the Linux dev stack (nobara-dell).

The call-site comment said "(no-audio-bridge platforms)", but aethersdr#3522 de-gated wireDaxIq() to wire DAX-IQ routing once at construction on all platforms (the startDax() copy was removed). Update the comment to match. No code change. The helper extraction aethersdr#2530 requested already landed via aethersdr#3351 Phase 2d + aethersdr#3522.

Co-authored-by: Don @ cloaked.agency <don@cloaked.agency> & K6OZY
@Ozy311 Ozy311 marked this pull request as ready for review June 14, 2026 02:29
@Ozy311 Ozy311 requested a review from a team as a code owner June 14, 2026 02:29

@aethersdr-agent aethersdr-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified the change against current main — it's an accurate, comment-only fix.

  • The call-site comment at src/gui/MainWindow.cpp:1609 did read (no-audio-bridge platforms), which is stale: wireDaxIq() is now invoked unconditionally with no platform #if gate, so the new wording ("established once at construction for all platforms … de-gated #3522") correctly reflects the actual behavior.
  • The companion comment your PR references is present at src/gui/MainWindow_DigitalModes.cpp:976-979 ("wired ONCE at construction … deliberately NOT wired here"), confirming startDax() carries no IQ wiring — so the documentation is now consistent across both sites.
  • Comment-only, no code or behavior change; nothing to flag on conventions, null-safety, leaks, or error handling.

Nicely scoped and well-evidenced PR description — the cross-references to #3541/#3522 made verification quick. Thanks for cleaning up the residual, @Ozy311. 73


🤖 aethersdr-agent · cost: $3.4916 · model: claude-opus-4-8

@ten9876 ten9876 merged commit b8892b4 into aethersdr:main Jun 14, 2026
6 checks passed
G6PWY-Chris pushed a commit to G6PWY-Chris/AetherSDR that referenced this pull request Jun 22, 2026
… (aethersdr#3566)

Comment-only: the wireDaxIq() call-site comment in the constructor still said '(no-audio-bridge platforms)', stale after aethersdr#3522 made the helper unconditional/all-platforms. Updated to reflect once-at-construction wiring independent of the audio bridge. Closes aethersdr#2530 (the extract-helper request was already resolved by aethersdr#3541 + aethersdr#3522). No code/behaviour change.

Co-authored-by: Ozy311 <ozy311@users.noreply.github.com>
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.

Refactor: extract wireDaxIqRouting() helper to collapse DAX IQ wiring duplication

2 participants