avr: echoing messages via tty now basically works.
This commit is contained in:
@@ -49,7 +49,7 @@ NETMSG_CalcAndAddChecksumByte:
|
||||
|
||||
|
||||
; ---------------------------------------------------------------------------
|
||||
; @routine netMsgCheckMessageInBuffer
|
||||
; @routine NETMSG_CheckMessageInBuffer
|
||||
;
|
||||
; check message in buffer
|
||||
;
|
||||
@@ -57,7 +57,7 @@ NETMSG_CalcAndAddChecksumByte:
|
||||
; @param X pointer to packet buffer
|
||||
; @clobbers R16, R17 (R18, R19, R20, X)
|
||||
|
||||
netMsgCheckMessageInBuffer:
|
||||
NETMSG_CheckMessageInBuffer:
|
||||
rcall netMsgCalcMsgChecksum ; (R16, R17, R18, R19, R20, X)
|
||||
ld r17, X
|
||||
cp r16, r17 ; should be equal
|
||||
|
||||
Reference in New Issue
Block a user