avr: share code.

This commit is contained in:
Martin Preuss
2025-03-23 01:08:33 +01:00
parent 595f983071
commit ebce002614
6 changed files with 51 additions and 49 deletions

View File

@@ -20,11 +20,13 @@
; @clobbers R16, R17, X
NET_Init:
#if 0
ldi xh, HIGH(networkDataBegin)
ldi xl, LOW(networkDataBegin)
clr r16
ldi r17, (networkDataEnd-networkDataBegin)
rcall Utils_FillSram ; (R17, X)
#endif
rcall NET_Buffer_Init ; (R16, R17, X)