diff options
author | Eric-L-T <etang2099@gmail.com> | 2016-04-01 13:49:03 -0700 |
---|---|---|
committer | Eric-L-T <etang2099@gmail.com> | 2016-04-01 13:49:03 -0700 |
commit | 9a35f01c5516081a8c503d2344f0d082b1a29cd5 (patch) | |
tree | 408db7c113359a5823e9bde23deb9bfca08ca16b | |
parent | cd8dd1b6d6a68c1d6ba48ba58e6ddad7dbbce6c2 (diff) | |
download | qmk_firmware-9a35f01c5516081a8c503d2344f0d082b1a29cd5.tar.gz qmk_firmware-9a35f01c5516081a8c503d2344f0d082b1a29cd5.zip |
Update action.c
-rw-r--r-- | tmk_core/common/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 4457d16d86..9ba03675a1 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -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; |