1
0
Fork 0

Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.

This commit is contained in:
Joe Wasson 2016-07-24 12:56:28 -07:00
parent 8e1d96983a
commit f9956c2aac

View file

@ -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)
{