avr: minor changes.

This commit is contained in:
Martin Preuss
2026-01-22 00:06:09 +01:00
parent d64157f7ef
commit 604734b6e3
5 changed files with 33 additions and 24 deletions

View File

@@ -286,7 +286,21 @@ test:
ldi xl, 9 ; node address
ldi xh, 2 ; value 0x02 (SI7021_HUM)
bigcall OBJ_HandleSignal
#if 0
ldi xl, LOW(EEPROM_OFFS_TLV)
ldi xh, HIGH(EEPROM_OFFS_TLV)
eeloop:
bigcall Eeprom_CheckAddr
brcc eeloop_end
ldi r16, 0xff
bigcall Eeprom_WriteByte
adiw xh:xl, 1
rjmp eeloop
eeloop_end:
#endif
ret