Process entire unlock sequence - revert changes to SECURE_UNLOCK_SEQUENCE
This commit is contained in:
parent
320f161c72
commit
12e8c8d8ee
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue