add a more descriptive comment

pull/175/head
Jesse Vincent 7 years ago
parent 1c7cc32b2f
commit 6778581bcf
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -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.

Loading…
Cancel
Save