Make doubleTapSwitchLayerKey and doubleTapSwitchLayerStartTime static.

This commit is contained in:
László Monda
2018-02-11 03:29:15 +01:00
parent 275bfee860
commit 0c94cbb256

View File

@@ -191,11 +191,12 @@ static layer_id_t previousLayer = LayerId_Base;
static uint8_t basicScancodeIndex = 0;
static uint8_t mediaScancodeIndex = 0;
static uint8_t systemScancodeIndex = 0;
key_state_t *doubleTapSwitchLayerKey;
uint32_t doubleTapSwitchLayerStartTime;
void applyKeyAction(key_state_t *keyState, key_action_t *action)
{
static key_state_t *doubleTapSwitchLayerKey;
static uint32_t doubleTapSwitchLayerStartTime;
if (keyState->suppressed) {
return;
}