Workaround for the compiler optimizing things out...

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
pull/109/head
Gergely Nagy 8 years ago
parent 9a48b83290
commit 5d46660bef

@ -14,6 +14,9 @@ Kaleidoscope_::setup(const byte keymap_count) {
Keyboard.begin();
KeyboardHardware.setup();
// A workaround, so that the compiler does not optimize this out...
handle_key_event (Key_NoKey, 255, 255, 0);
Layer.defaultLayer (KeyboardHardware.load_primary_layer (keymap_count));
}

Loading…
Cancel
Save