Add radio configuration update callback#1689
Conversation
|
I believe that the blinky build is failing due to an include dependency problem. I'll see if #1657 solves it. |
347f717 to
a2dac85
Compare
|
The blinky build was actually failing because I shouldn't have put the new function into hackrf_core.c. I moved it to hackrf_usb.c. |
a2dac85 to
bf66f72
Compare
bf66f72 to
55ae863
Compare
martinling
left a comment
There was a problem hiding this comment.
This PR currently breaks the built-in portapack UI.
E.g. hackrf_transfer -r mostly displays correctly but is missing the received wave symbol by the antenna. Subsequently, hackrf_transfer -t does not change the display.
d4cdaea to
a9ec353
Compare
|
I figured out what was going wrong and have pushed fixes to this branch. |
|
@martinling Thank you! I believe I had fixed both those problems previously but somehow lost my fixes. |
|
I'd thought with that logic fixed that #1697 might work, but that's now differently broken. |
a9ec353 to
c3deb84
Compare
|
I incorporated @martinling's changes, fixed some additional bugs, and rebased. I set this back to draft because I found an additional bug that is not yet fixed: The PortaPack UI does not correctly display the image reject filter state. This is because the radio configuration registers do not yet store the applied image reject filter state. I have some work in progress that stores this and other tuning registers, but it needs some work to bring up to date with main. I think it would be best to finish that work and merge it before this. |
c3deb84 to
cb5fe35
Compare
cb5fe35 to
3a25025
Compare
ffcac3f to
08fc5c6
Compare
Previously it was possible, though rare, for an update of an RX gain setting to be displayed during TX mode or for an update of a TX gain setting to be displayed during RX mode.
Co-authored-by: Martin Ling <martin-git@earth.li>
08fc5c6 to
43454dd
Compare
|
The required storage of image reject filter state was implemented in #1708. |
Depends on #1708
A new callback replaces and centralizes UI and Opera Cake update calls scattered throughout the code.