diff --git a/src/Kaleidoscope.cpp b/src/Kaleidoscope.cpp index 3a6bbdd0..356235d6 100644 --- a/src/Kaleidoscope.cpp +++ b/src/Kaleidoscope.cpp @@ -12,7 +12,9 @@ Kaleidoscope_::setup(void) { KeyboardHardware.setup(); Keyboard.begin(); - // A workaround, so that the compiler does not optimize this out... + // A workaround, so that the compiler does not optimize handleKeyswitchEvent out... + // This is a no-op, but tricks the compiler into not being too helpful + // TODO: figure out how to hint the compiler in a more reasonable way handleKeyswitchEvent(Key_NoKey, 255, 255, 0); // Update the key cache, so we start with a non-empty state.