Process entire unlock sequence - revert changes to SECURE_UNLOCK_SEQUENCE

xap
zvecr 3 years ago
parent 320f161c72
commit 12e8c8d8ee
  1. 6
      quantum/secure.c

@ -15,9 +15,7 @@
#ifndef SECURE_UNLOCK_SEQUENCE #ifndef SECURE_UNLOCK_SEQUENCE
# define SECURE_UNLOCK_SEQUENCE \ # define SECURE_UNLOCK_SEQUENCE \
{ \ { \
{0, 0}, { \ { 0, 0 } \
0, 1 \
} \
} }
#endif #endif
@ -60,7 +58,7 @@ void secure_keypress_event(uint8_t row, uint8_t col) {
offset++; offset++;
if (offset == sequence_len) { if (offset == sequence_len) {
offset = 0; offset = 0;
secure_unlock(); secure_unlock();
} }
} else { } else {
offset = 0; offset = 0;

Loading…
Cancel
Save