mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 17:55:00 -04:00
Run baseband image per application.
First step toward having separate baseband images per app or function.
This commit is contained in:
parent
ac0bdc35a6
commit
303bfeaafc
8 changed files with 31 additions and 9 deletions
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include "analog_audio_app.hpp"
|
||||
|
||||
#include "baseband_api.hpp"
|
||||
|
||||
#include "portapack.hpp"
|
||||
#include "portapack_persistent_memory.hpp"
|
||||
using namespace portapack;
|
||||
|
@ -77,6 +79,8 @@ NBFMOptionsView::NBFMOptionsView(
|
|||
AnalogAudioView::AnalogAudioView(
|
||||
NavigationView& nav
|
||||
) {
|
||||
baseband::run_image(portapack::spi_flash::baseband);
|
||||
|
||||
add_children({ {
|
||||
&rssi,
|
||||
&channel,
|
||||
|
@ -145,6 +149,8 @@ AnalogAudioView::~AnalogAudioView() {
|
|||
audio::output::stop();
|
||||
|
||||
receiver_model.disable();
|
||||
|
||||
baseband::shutdown();
|
||||
}
|
||||
|
||||
void AnalogAudioView::on_hide() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue