Run baseband image per application.

First step toward having separate baseband images per app or function.
This commit is contained in:
Jared Boone 2016-06-24 11:30:54 -07:00
parent ac0bdc35a6
commit 303bfeaafc
8 changed files with 31 additions and 9 deletions

View file

@ -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() {