avr: re-introduce UID to new VALUE messages, set UID in VALUE response messages.

This commit is contained in:
Martin Preuss
2024-09-06 22:50:32 +02:00
parent 5e4ca45443
commit 2fa3e9d4ab
6 changed files with 77 additions and 44 deletions

View File

@@ -185,15 +185,13 @@ Utils_Fini:
; ---------------------------------------------------------------------------
; Utils_FillSram
; @routine Utils_FillSram @global
;
; IN:
; - x: pointer to SRAM to fill
; - r16: value to fill the SRAM with
; - r17: size of area to fill
; OUT:
; - nothing
; MODIFIED REGISTERS: r17, x
; @return X points directly behind filled memory
; @param X pointer to SRAM to fill
; @param r16 value to fill the SRAM with
; @param r17 size of area to fill
; @clobbers r17
Utils_FillSram:
tst r17
@@ -205,6 +203,7 @@ Utils_FillSram_loop:
brne Utils_FillSram_loop
Utils_FillSram_end:
ret
; @end