From 95fe57c9aafd7d3463076f2fe1beb0ecb84068af Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 10 Dec 2015 17:20:10 -0800 Subject: [PATCH] Consolidate EventDispatcher client code. --- firmware/baseband/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/baseband/main.cpp b/firmware/baseband/main.cpp index 2a8e567c..e601d2df 100755 --- a/firmware/baseband/main.cpp +++ b/firmware/baseband/main.cpp @@ -194,13 +194,12 @@ int main(void) { events_initialize(chThdSelf()); m0apptxevent_interrupt_enable(); - EventDispatcher event_dispatcher; - /* TODO: Ensure DMAs are configured to point at first LLI in chain. */ touch::dma::allocate(); touch::dma::enable(); + EventDispatcher event_dispatcher; event_dispatcher.run(); shutdown();