Skip to content

Fix sweep mode with PortaPack#1724

Merged
mossmann merged 4 commits intomainfrom
portapack-sweep
Apr 10, 2026
Merged

Fix sweep mode with PortaPack#1724
mossmann merged 4 commits intomainfrom
portapack-sweep

Conversation

@mossmann
Copy link
Copy Markdown
Member

@mossmann mossmann commented Apr 9, 2026

Fix a bug that can cause shortfalls in sweep mode with PortaPack due to UI updates taking too long.

Also show 0 in MHz column on PortaPack display which makes it clearer when tuned below 1 MHz.

@mossmann mossmann requested a review from mndza April 9, 2026 04:45
@mossmann mossmann force-pushed the portapack-sweep branch 3 times, most recently from 9261aa6 to 0b02d13 Compare April 9, 2026 19:15
@mossmann mossmann mentioned this pull request Apr 9, 2026
@mossmann mossmann requested review from martinling and removed request for mndza April 9, 2026 19:49
mossmann added 4 commits April 9, 2026 18:46
The PortaPack UI hides leading zeros in the most significant digits.
Previously zeros in the 1 MHz column and above were hidden. Now zeros in
the 10 MHz column and above are hidden.
Copy link
Copy Markdown
Member

@martinling martinling left a comment

Choose a reason for hiding this comment

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

I was previously able to reproduce a hang in sweep mode with hackrf_sweep -f 2100:2220 on HackRF One & PortaPack, with an earlier version of #1708, at commit af77d98.

I wasn't able to reproduce the hang with any of:

As such, to test the fix in this PR, I first rebased the branch on commit af77d98. My rebased version can be seen here.

I've confirmed that:

  • the rebased version fixes the hang
  • sweep mode also works correctly with the non-rebased version
  • both versions have the expected change to display behaviour below 1MHz

And the code changes look good to me.

@mossmann mossmann merged commit 53f3162 into main Apr 10, 2026
84 checks passed
@mossmann mossmann deleted the portapack-sweep branch April 10, 2026 22:02
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.

2 participants