summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Software/pinlock.asm6
1 files changed, 4 insertions, 2 deletions
diff --git a/Software/pinlock.asm b/Software/pinlock.asm
index 6625465..5e9340c 100644
--- a/Software/pinlock.asm
+++ b/Software/pinlock.asm
@@ -803,7 +803,7 @@ handle_left:
andi tmp0, 0b00000011
dec tmp0
andi tmp0, 0b00000011
- andi ret0, 0b11111100
+ andi ret0, 0b01111100
or ret0, tmp0
pop tmp0
rjmp handle_end
@@ -813,7 +813,7 @@ handle_right:
andi tmp0, 0b00000011
inc tmp0
andi tmp0, 0b00000011
- andi ret0, 0b11111100
+ andi ret0, 0b01111100
or ret0, tmp0
pop tmp0
rjmp handle_end
@@ -864,6 +864,8 @@ handle_auth_submit:
pop tmp1
pop tmp0
pop ret0
+ ldi dig0, 0
+ ldi dig1, 0
ldi par0, HANDLE_STATE_AUTHED
rcall handle_state
pop par0