Merge pull request #77 from algernon/h/hook/fix-optimising-out-the-hook-functions

Prevent optimising out the hook functions
pull/78/head
Jesse Vincent 8 years ago committed by GitHub
commit b32bb2e44b

@ -14,6 +14,9 @@ Keyboardio_::setup(const byte keymap_count) {
KeyboardHardware.setup();
LEDControl.setup();
event_handler_hook_add (NULL);
loop_hook_add (NULL);
Layer.defaultLayer (Storage.load_primary_keymap (keymap_count));
}

Loading…
Cancel
Save