mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-13 14:22:16 +00:00
Run baseband image per application.
First step toward having separate baseband images per app or function.
This commit is contained in:
@@ -121,6 +121,8 @@ void RecentEntriesView<ERTRecentEntries>::draw(
|
||||
}
|
||||
|
||||
ERTAppView::ERTAppView(NavigationView&) {
|
||||
baseband::run_image(portapack::spi_flash::baseband);
|
||||
|
||||
add_children({ {
|
||||
&recent_entries_view,
|
||||
} });
|
||||
@@ -149,6 +151,8 @@ ERTAppView::ERTAppView(NavigationView&) {
|
||||
ERTAppView::~ERTAppView() {
|
||||
baseband::stop();
|
||||
radio::disable();
|
||||
|
||||
baseband::shutdown();
|
||||
}
|
||||
|
||||
void ERTAppView::focus() {
|
||||
|
||||
Reference in New Issue
Block a user