Browse Source

Update action.c

Eric-L-T 9 years ago
parent
commit
9a35f01c55
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tmk_core/common/action.c

+ 1 - 1
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;