mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-31 10:39:57 -04:00
Move event initialization code into EventDispatcher.
This commit is contained in:
parent
95fe57c9aa
commit
f3979a1d65
1 changed files with 3 additions and 3 deletions
|
@ -141,6 +141,9 @@ public:
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
events_initialize(chThdSelf());
|
||||||
|
m0apptxevent_interrupt_enable();
|
||||||
|
|
||||||
baseband_thread.thread_main = chThdSelf();
|
baseband_thread.thread_main = chThdSelf();
|
||||||
baseband_thread.thread_rssi = rssi_thread.start(NORMALPRIO + 10);
|
baseband_thread.thread_rssi = rssi_thread.start(NORMALPRIO + 10);
|
||||||
baseband_thread.start(NORMALPRIO + 20);
|
baseband_thread.start(NORMALPRIO + 20);
|
||||||
|
@ -191,9 +194,6 @@ private:
|
||||||
int main(void) {
|
int main(void) {
|
||||||
init();
|
init();
|
||||||
|
|
||||||
events_initialize(chThdSelf());
|
|
||||||
m0apptxevent_interrupt_enable();
|
|
||||||
|
|
||||||
/* TODO: Ensure DMAs are configured to point at first LLI in chain. */
|
/* TODO: Ensure DMAs are configured to point at first LLI in chain. */
|
||||||
|
|
||||||
touch::dma::allocate();
|
touch::dma::allocate();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue