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 /tmk_core | |
parent | cd8dd1b6d6a68c1d6ba48ba58e6ddad7dbbce6c2 (diff) | |
download | firmware-9a35f01c5516081a8c503d2344f0d082b1a29cd5.tar.gz firmware-9a35f01c5516081a8c503d2344f0d082b1a29cd5.tar.bz2 firmware-9a35f01c5516081a8c503d2344f0d082b1a29cd5.zip |
Update action.c
Diffstat (limited to 'tmk_core')
-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 4457d16d8..9ba03675a 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; |