Actually switch the keymap.

This commit is contained in:
László Monda
2018-03-30 12:44:43 +02:00
parent b34fb9daa3
commit ecf1f1ac32

View File

@@ -31,6 +31,7 @@ bool SwitchKeymapByAbbreviation(uint8_t length, char *abbrev)
for (uint8_t i=0; i<MAX_KEYMAP_NUM; i++) {
keymap_reference_t *keymap = AllKeymaps + i;
if (keymap->abbreviationLen == length && strcmp(keymap->abbreviation, abbrev) == 0) {
SwitchKeymap(i);
return true;
}
}