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

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