avr: guard with precompiler directives.
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
; * Please see toplevel file COPYING of that project for license details. *
|
||||
; ***************************************************************************
|
||||
|
||||
#ifndef AQH_AVR_NETWORK_MAIN_ASM
|
||||
#define AQH_AVR_NETWORK_MAIN_ASM
|
||||
|
||||
|
||||
.cseg
|
||||
|
||||
@@ -20,14 +23,6 @@
|
||||
; @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)
|
||||
|
||||
ldi r16, NET_MSGNUMINBUF_SIZE
|
||||
@@ -102,3 +97,6 @@ NET_PeekNextIncomingMsgNum:
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user