mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-06 03:12:12 +00:00
Run baseband image per application.
First step toward having separate baseband images per app or function.
This commit is contained in:
@@ -164,6 +164,8 @@ void RecentEntriesView<TPMSRecentEntries>::draw(
|
||||
}
|
||||
|
||||
TPMSAppView::TPMSAppView(NavigationView&) {
|
||||
baseband::run_image(portapack::spi_flash::baseband);
|
||||
|
||||
add_children({ {
|
||||
&rssi,
|
||||
&channel,
|
||||
@@ -205,6 +207,8 @@ TPMSAppView::TPMSAppView(NavigationView&) {
|
||||
TPMSAppView::~TPMSAppView() {
|
||||
baseband::stop();
|
||||
radio::disable();
|
||||
|
||||
baseband::shutdown();
|
||||
}
|
||||
|
||||
void TPMSAppView::focus() {
|
||||
|
||||
Reference in New Issue
Block a user