Browse Source

Process entire unlock sequence - revert changes to SECURE_UNLOCK_SEQUENCE

zvecr 4 years ago
parent
commit
12e8c8d8ee
1 changed files with 2 additions and 4 deletions
  1. 2 4
      quantum/secure.c

+ 2 - 4
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;