mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 17:55:00 -04:00
Dumb baseband-running state tracking to ease use of baseband API.
This commit is contained in:
parent
b2d5e47308
commit
34e45412d1
2 changed files with 15 additions and 0 deletions
|
@ -271,6 +271,8 @@ void AnalogAudioView::update_modulation(const ReceiverModel::Mode modulation) {
|
|||
audio::output::mute();
|
||||
record_view.stop();
|
||||
|
||||
baseband::shutdown();
|
||||
|
||||
portapack::spi_flash::image_tag_t image_tag;
|
||||
switch(modulation) {
|
||||
case ReceiverModel::Mode::AMAudio: image_tag = portapack::spi_flash::image_tag_am_audio; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue