mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-13 11:19:47 +00:00

* Fix for #2538 Fix for #2538 Added on_bandwidth_changed Callback to ui_transmitter.hpp Modified the field_bw.on_change lambda in the TransmitterView constructor to trigger the on_bandwidth_changed callback Connected the Callback in ui_siggen.cpp I am not a C++ programmer so this change was proposed by Gemini AI. I have built and tested the App and it works as expected and I don't think the change will have any unexpected side effects. * Fix clang issues Fix clang issues * Update ui_transmitter.cpp typo * Revised change The proposed change mirrors the way a change to the frequency (on_edit_frequency) is triggered in ui_siggen by the tx_view. The bw parameter is not passed because it is stored in _setting in the tx_view and will be read by update_config. A change to the bw is not checked against auto_update to keep its behaviour consistent with a change to the gain, amplitude or frequency. * Make changes to the channel_bandwidth dynamic whist playing Behaviour of channel bandwidth is now consistent with frequency, amp and gain. * comment edit * revert hackrf submodule checkpoint to the repo * comment --------- Co-authored-by: zxkmm <zxkmm@hotmail.com>