diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-28 12:24:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 12:24:42 -0400 |
commit | 9171ce1d17882be211115b9a924bac27375891c3 (patch) | |
tree | 36246eeb8548775a5d5bbcca54b07b8746cc6c36 | |
parent | 8d98f37fbb73ef770af8c3c9d210c0a2102ca670 (diff) | |
parent | f9956c2aac357645c4a77887a28c3ab58467893a (diff) |
Merge pull request #559 from Talljoe/fix-compiler-warning
Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.
-rw-r--r-- | tmk_core/common/action_layer.c | 2 |
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) { |