mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-25 22:16:14 -05:00
Consolidate EventDispatcher client code.
This commit is contained in:
parent
4b3fa25cef
commit
95fe57c9aa
@ -194,13 +194,12 @@ int main(void) {
|
|||||||
events_initialize(chThdSelf());
|
events_initialize(chThdSelf());
|
||||||
m0apptxevent_interrupt_enable();
|
m0apptxevent_interrupt_enable();
|
||||||
|
|
||||||
EventDispatcher event_dispatcher;
|
|
||||||
|
|
||||||
/* 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();
|
||||||
touch::dma::enable();
|
touch::dma::enable();
|
||||||
|
|
||||||
|
EventDispatcher event_dispatcher;
|
||||||
event_dispatcher.run();
|
event_dispatcher.run();
|
||||||
|
|
||||||
shutdown();
|
shutdown();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user