avr: minor changes.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user