avr: removed debug vars from CPRO module.

This commit is contained in:
Martin Preuss
2024-09-29 15:08:33 +02:00
parent d70c673b8a
commit c2d7564e0c
3 changed files with 0 additions and 36 deletions

View File

@@ -39,11 +39,6 @@ CPRO_Address_OnPacketReceived:
ld r16, x
sbiw xh:xl, COM2_MSG_OFFS_CMD
sts cproLastAddrCmd, r16
lds r18, cproCountAddr
inc r18
sts cproCountAddr, r18
cpi r16, CPRO_CMD_NEED_ADDRESS
brcs CPRO_Address_OnPacketReceived_nc ; smaller than 60
@@ -152,10 +147,6 @@ cproHandleClaimAddr_done:
cproHandleDenyAddr:
lds r16, cproCountDeny
inc r16
sts cproCountDeny, r16
; check mode
lds r17, cproMode
cpi r17, CPRO_MODE_CLAIMING_ADDR1

View File

@@ -20,9 +20,6 @@
cproDataBegin:
cproMode: .byte 1
cproCountAddr: .byte 1
cproCountDeny: .byte 1
cproLastAddrCmd: .byte 1
cproDataEnd:

View File

@@ -88,28 +88,6 @@ CPRO_Screen:
lds r16, cproUsedAddresses+3
rcall LCD_PrintHexByte
ldi r18, 0
ldi r19, 5
rcall LCD_SetCursor
ldi zl, LOW(cproScreenText_msgs)
ldi zh, HIGH(cproScreenText_msgs)
rcall LCD_PrintFromFlash
lds r16, cproCountAddr
rcall LCD_PrintHexByte
ldi r16, 32
rcall LCD_PrintChar
lds r16, cproLastAddrCmd
rcall LCD_PrintHexByte
ldi r18, 0
ldi r19, 6
rcall LCD_SetCursor
ldi zl, LOW(cproScreenText_deny)
ldi zh, HIGH(cproScreenText_deny)
rcall LCD_PrintFromFlash
lds r16, cproCountDeny
rcall LCD_PrintHexByte
pop r15
out SREG, r15
ret
@@ -119,7 +97,5 @@ cproScreenText_title: .db "CPRO Screen", 0
cproScreenText_uid: .db "UID : ", 0
cproScreenText_addr: .db "Address: ", 0
cproScreenText_bitmap: .db "BITMAP : ", 0
cproScreenText_msgs: .db "nADDR : ", 0
cproScreenText_deny: .db "nDENY : ", 0