aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/common/action.c
diff options
context:
space:
mode:
authorGravatar Eric-L-T <etang2099@gmail.com>2016-04-01 13:49:03 -0700
committerGravatar Eric-L-T <etang2099@gmail.com>2016-04-01 13:49:03 -0700
commit9a35f01c5516081a8c503d2344f0d082b1a29cd5 (patch)
tree408db7c113359a5823e9bde23deb9bfca08ca16b /tmk_core/common/action.c
parentcd8dd1b6d6a68c1d6ba48ba58e6ddad7dbbce6c2 (diff)
downloadqmk_firmware-9a35f01c5516081a8c503d2344f0d082b1a29cd5.tar.gz
Update action.c
Diffstat (limited to 'tmk_core/common/action.c')
-rw-r--r--tmk_core/common/action.c2
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;