mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 09:25:30 -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
|
@ -59,13 +59,6 @@ static void event_loop() {
|
|||
};
|
||||
|
||||
EventDispatcher event_dispatcher { &system_view, context };
|
||||
|
||||
MessageHandlerRegistration message_handler_shutdown {
|
||||
Message::ID::Shutdown,
|
||||
[&event_dispatcher](const Message* const) {
|
||||
event_dispatcher.request_stop();
|
||||
}
|
||||
};
|
||||
MessageHandlerRegistration message_handler_display_sleep {
|
||||
Message::ID::DisplaySleep,
|
||||
[&event_dispatcher](const Message* const) {
|
||||
|
@ -88,8 +81,6 @@ int main(void) {
|
|||
|
||||
sdcStart(&SDCD1, nullptr);
|
||||
|
||||
m4_init(portapack::spi_flash::baseband, portapack::memory::map::m4_code);
|
||||
|
||||
controls_init();
|
||||
lcd_frame_sync_configure();
|
||||
rtc_interrupt_enable();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue