keyToggledO* camelcasing

pull/389/head
Jesse Vincent 7 years ago
parent 4d1a73f0b7
commit d70059ce4a
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -105,7 +105,7 @@ Key Leader::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta
if (!isActive()) { if (!isActive()) {
// Must be a leader key! // Must be a leader key!
if (key_toggled_off(key_state)) { if (keyToggledOff(key_state)) {
// not active, but a leader key = start the sequence on key release! // not active, but a leader key = start the sequence on key release!
end_time_ = millis() + time_out; end_time_ = millis() + time_out;
sequence_pos_ = 0; sequence_pos_ = 0;
@ -119,7 +119,7 @@ Key Leader::eventHandlerHook(Key mapped_key, byte row, byte col, uint8_t key_sta
// active // active
int8_t action_index = lookup(); int8_t action_index = lookup();
if (key_toggled_on(key_state)) { if (keyToggledOn(key_state)) {
sequence_pos_++; sequence_pos_++;
if (sequence_pos_ > LEADER_MAX_SEQUENCE_LENGTH) { if (sequence_pos_ > LEADER_MAX_SEQUENCE_LENGTH) {
reset(); reset();

Loading…
Cancel
Save