mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-08 09:22:49 +00:00
Process entire unlock sequence - revert changes to SECURE_UNLOCK_SEQUENCE
This commit is contained in:
parent
320f161c72
commit
12e8c8d8ee
@ -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…
Reference in New Issue
Block a user