Convert the abbreviationLen member of keymap_reference_t to uint8_t

This commit is contained in:
Eric Tang
2017-08-08 17:30:08 -07:00
parent 1ef10e9a1a
commit 220654876a
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
// TODO: Restore Ctrl and Super keys and Mod+N.
keymap_reference_t AllKeymaps[MAX_KEYMAP_NUM] = { { "QTY", 3 } };
keymap_reference_t AllKeymaps[MAX_KEYMAP_NUM] = { { "QTY", 0, 3 } };
uint8_t AllKeymapsCount;
uint8_t DefaultKeymapIndex;
uint8_t CurrentKeymapIndex = 0;

View File

@@ -14,8 +14,8 @@
typedef struct {
const char *abbreviation;
uint16_t abbreviationLen;
uint16_t offset;
uint8_t abbreviationLen;
} keymap_reference_t;
// Variables: