From 12e8c8d8eee2d8f61e8432d7f2a784c635894be1 Mon Sep 17 00:00:00 2001 From: zvecr Date: Tue, 12 Apr 2022 01:58:02 +0100 Subject: [PATCH] Process entire unlock sequence - revert changes to SECURE_UNLOCK_SEQUENCE --- quantum/secure.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/quantum/secure.c b/quantum/secure.c index 4409cb1b2a..46b8badacc 100644 --- a/quantum/secure.c +++ b/quantum/secure.c @@ -15,9 +15,7 @@ #ifndef SECURE_UNLOCK_SEQUENCE # define SECURE_UNLOCK_SEQUENCE \ { \ - {0, 0}, { \ - 0, 1 \ - } \ + { 0, 0 } \ } #endif @@ -60,7 +58,7 @@ void secure_keypress_event(uint8_t row, uint8_t col) { offset++; if (offset == sequence_len) { offset = 0; - secure_unlock(); + secure_unlock(); } } else { offset = 0;