Use the new, double-add protected hook functions

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/389/head
Gergely Nagy 8 years ago
parent 386f893829
commit ba0b69bb89

@ -69,8 +69,8 @@ namespace Akela {
void
Heatmap::begin (void) {
LEDControl.mode_add (this);
event_handler_hook_add (this->eventHook);
loop_hook_add (this->loopHook);
event_handler_hook_use (this->eventHook);
loop_hook_use (this->loopHook);
}
void

Loading…
Cancel
Save