mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 01:59:13 -04:00
Almost finished moving around baseband init/shutdown code.
This commit is contained in:
parent
f90e5bab6b
commit
d895a54078
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue