Fix a mostly harmless warning

In `hexToKeysWithNumpad`, have a default case, a pointless one, because we never
take that branch, but it silences a warning.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/389/head
Gergely Nagy 7 years ago
parent 130b2b2600
commit 8af093c432

@ -179,6 +179,9 @@ __attribute__((weak)) Key hexToKeysWithNumpad(uint8_t hex) {
case 0xF: case 0xF:
m = Key_F.keyCode; m = Key_F.keyCode;
break; break;
default:
m = Key_NoKey.keyCode;
break;
} }
} }
return { m, KEY_FLAGS }; return { m, KEY_FLAGS };

Loading…
Cancel
Save