aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorGravatar eltang <etang2099@gmail.com>2016-04-02 09:34:01 -0700
committerGravatar eltang <etang2099@gmail.com>2016-04-02 09:34:01 -0700
commitf4f592910c51c048b1e1a08408ce16fd14eb3c32 (patch)
tree53ce785171a9ade8471ca3e1957c14e514cbabab /tmk_core
parentda101b886689b3d2a8e4246ed20dee5f066bb1a1 (diff)
downloadqmk_firmware-f4f592910c51c048b1e1a08408ce16fd14eb3c32.tar.gz
Update action.c
Diffstat (limited to 'tmk_core')
-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 ae4e5545c..43d03f744 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] = {};
+uint8_t source_layers_cache[5][((MATRIX_ROWS * MATRIX_COLS) / 8) ? ((MATRIX_ROWS * MATRIX_COLS) / 8) : 1] = {0};
void process_action_nocache(keyrecord_t *record)
{