summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2016-07-24 12:56:28 -0700
committerJoe Wasson <jwasson+github@gmail.com>2016-07-24 12:56:28 -0700
commitf9956c2aac357645c4a77887a28c3ab58467893a (patch)
tree12be7aa7a2fc045a34da39259f0717944745f660 /tmk_core
parent8e1d96983aad19b3e4e72ece5db822e92d91342b (diff)
Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/action_layer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action_layer.c b/tmk_core/common/action_layer.c
index 63fa2b5ae4..a3c7579642 100644
--- a/tmk_core/common/action_layer.c
+++ b/tmk_core/common/action_layer.c
@@ -111,7 +111,7 @@ void layer_debug(void)
#endif
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
-uint8_t source_layers_cache[(MATRIX_ROWS * MATRIX_COLS + 7) / 8][MAX_LAYER_BITS] = {0};
+uint8_t source_layers_cache[(MATRIX_ROWS * MATRIX_COLS + 7) / 8][MAX_LAYER_BITS] = {{0}};
void update_source_layers_cache(keypos_t key, uint8_t layer)
{