portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.05k stars 520 forks source link

Mic tx iq audio fix #2007

Closed gullradriel closed 4 months ago

gullradriel commented 4 months ago

This fix the following issue:

https://github.com/portapack-mayhem/mayhem-firmware/issues/2006

NotherNgineer commented 4 months ago

I'm about to submit a PR with a different solution, so please wait and decide which fix it better. :-)

NotherNgineer commented 4 months ago

This workaround proposed in this PR does work, because calling rx_audio() forces the radio mode back to Receive after it gets messed up by the set_tx_LO_iq_phase_calibration() function.

However, please see an alternate solution in PR #2008, which is to prevent the radio mode from getting messed up.

gullradriel commented 4 months ago

Superseded by https://github.com/portapack-mayhem/mayhem-firmware/pull/2008