mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-06 20:21:48 +00:00
Run baseband image per application.
First step toward having separate baseband images per app or function.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user