1
0
Fork 0

Merge pull request #559 from Talljoe/fix-compiler-warning

Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.
This commit is contained in:
Jack Humbert 2016-07-28 12:24:42 -04:00 committed by GitHub
commit 9171ce1d17

View file

@ -111,7 +111,7 @@ void layer_debug(void)
#endif #endif
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) #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) void update_source_layers_cache(keypos_t key, uint8_t layer)
{ {