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

@ -286,6 +286,8 @@ void AISRecentEntryDetailView::set_entry(const AISRecentEntry& entry) {
}
AISAppView::AISAppView(NavigationView&) {
baseband::run_image(portapack::spi_flash::baseband);
add_children({ {
&label_channel,
&options_channel,
@ -333,6 +335,8 @@ AISAppView::AISAppView(NavigationView&) {
AISAppView::~AISAppView() {
baseband::stop();
radio::disable();
baseband::shutdown();
}
void AISAppView::focus() {