mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
Update action.c
This commit is contained in:
parent
cd8dd1b6d6
commit
9a35f01c55
|
@ -82,7 +82,7 @@ action_t store_or_get_action(bool pressed, keypos_t key)
|
|||
if (disable_action_cache) {
|
||||
return layer_switch_get_action(key);
|
||||
}
|
||||
uint8_t key_number = (key.col + (key.row * MATRIX_COLS));
|
||||
uint8_t key_number = key.col + (key.row * MATRIX_COLS);
|
||||
uint8_t storage_row = key_number / 8;
|
||||
uint8_t storage_bit = key_number % 8;
|
||||
uint8_t layer;
|
||||
|
|
Loading…
Reference in a new issue