forked from forks/qmk_firmware
Fix compiler warning when PREVENT_STUCK_MODIFIERS is enabled.
This commit is contained in:
parent
8e1d96983a
commit
f9956c2aac
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue