diff options
author | Joe Wasson <jwasson+github@gmail.com> | 2016-07-24 12:56:28 -0700 |
---|---|---|
committer | Joe Wasson <jwasson+github@gmail.com> | 2016-07-24 12:56:28 -0700 |
commit | f9956c2aac357645c4a77887a28c3ab58467893a (patch) | |
tree | 12be7aa7a2fc045a34da39259f0717944745f660 /tmk_core/common | |
parent | 8e1d96983aad19b3e4e72ece5db822e92d91342b (diff) | |
download | qmk_firmware-f9956c2aac357645c4a77887a28c3ab58467893a.tar.gz |
Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.
Diffstat (limited to 'tmk_core/common')
-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 63fa2b5ae..a3c757964 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) { |