diff options
author | eltang <etang2099@gmail.com> | 2016-04-02 09:59:53 -0700 |
---|---|---|
committer | eltang <etang2099@gmail.com> | 2016-04-02 09:59:53 -0700 |
commit | 6c8e374d572f1cf0b62beb2a9718de84202c8a41 (patch) | |
tree | 020142026986283ff6afebb35c9e05f2f126ae20 | |
parent | f4f592910c51c048b1e1a08408ce16fd14eb3c32 (diff) | |
download | firmware-6c8e374d572f1cf0b62beb2a9718de84202c8a41.tar.gz firmware-6c8e374d572f1cf0b62beb2a9718de84202c8a41.tar.bz2 firmware-6c8e374d572f1cf0b62beb2a9718de84202c8a41.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 43d03f744..f47256de7 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -55,7 +55,7 @@ void action_exec(keyevent_t event) #if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) bool disable_action_cache = false; -uint8_t source_layers_cache[5][((MATRIX_ROWS * MATRIX_COLS) / 8) ? ((MATRIX_ROWS * MATRIX_COLS) / 8) : 1] = {0}; +uint8_t source_layers_cache[5][((MATRIX_ROWS * MATRIX_COLS + 7) / 8)] = {0}; void process_action_nocache(keyrecord_t *record) { |