Use the new, double-add protected hook functions

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/365/head
Gergely Nagy 8 years ago
parent 2a35a350f1
commit a2ce233531

@ -123,8 +123,8 @@ LEDControl_::begin (void) {
(modes[i]->setup)(); (modes[i]->setup)();
} }
event_handler_hook_add(eventHandler); event_handler_hook_use(eventHandler);
loop_hook_add(loopHook); loop_hook_use(loopHook);
} }
Key Key

Loading…
Cancel
Save