mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-15 01:57:50 +00:00
Almost finished moving around baseband init/shutdown code.
This commit is contained in:
@@ -112,8 +112,6 @@ static void shutdown() {
|
||||
// TODO: Is this complete?
|
||||
|
||||
nvicDisableVector(DMA_IRQn);
|
||||
|
||||
m0apptxevent_interrupt_disable();
|
||||
|
||||
chSysDisable();
|
||||
|
||||
@@ -157,7 +155,7 @@ public:
|
||||
dispatch(events);
|
||||
}
|
||||
|
||||
shutdown();
|
||||
m0apptxevent_interrupt_disable();
|
||||
}
|
||||
|
||||
void request_stop() {
|
||||
@@ -205,5 +203,7 @@ int main(void) {
|
||||
EventDispatcher event_dispatcher;
|
||||
event_dispatcher.run();
|
||||
|
||||
shutdown();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user