Increment packets-out counter.
This commit is contained in:
@@ -704,6 +704,8 @@ comOnUart0SendMsg_loopComplete:
|
|||||||
sbrs r16, TXC0
|
sbrs r16, TXC0
|
||||||
rjmp comOnUart0SendMsg_loopComplete
|
rjmp comOnUart0SendMsg_loopComplete
|
||||||
rcall comOnUart0StopTx ; (R16)
|
rcall comOnUart0StopTx ; (R16)
|
||||||
|
ldi r16, NET_IFACE_OFFS_PACKETSOUT_LOW
|
||||||
|
rcall NET_Interface_IncCounter16 ; (R24, R25)
|
||||||
rcall comOnUart0SetAttnInput ; release ATTN (none)
|
rcall comOnUart0SetAttnInput ; release ATTN (none)
|
||||||
rcall Utils_WaitFor10MicroSecs ; make sure ATTN is at least high for a short period (R22)
|
rcall Utils_WaitFor10MicroSecs ; make sure ATTN is at least high for a short period (R22)
|
||||||
sec
|
sec
|
||||||
|
|||||||
@@ -704,6 +704,8 @@ comOnUart1SendMsg_loopComplete:
|
|||||||
sbrs r16, TXC1
|
sbrs r16, TXC1
|
||||||
rjmp comOnUart1SendMsg_loopComplete
|
rjmp comOnUart1SendMsg_loopComplete
|
||||||
rcall comOnUart1StopTx ; (R16)
|
rcall comOnUart1StopTx ; (R16)
|
||||||
|
ldi r16, NET_IFACE_OFFS_PACKETSOUT_LOW
|
||||||
|
rcall NET_Interface_IncCounter16 ; (R24, R25)
|
||||||
rcall comOnUart1SetAttnInput ; release ATTN (none)
|
rcall comOnUart1SetAttnInput ; release ATTN (none)
|
||||||
rcall Utils_WaitFor10MicroSecs ; make sure ATTN is at least high for a short period (R22)
|
rcall Utils_WaitFor10MicroSecs ; make sure ATTN is at least high for a short period (R22)
|
||||||
sec
|
sec
|
||||||
|
|||||||
Reference in New Issue
Block a user