mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-10 02:35:17 -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
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue