Skip to content

Commit 5ce9067

Browse files
committed
Added check if wifi shield is not present
1 parent 457de85 commit 5ce9067

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wifiHD/src/ard_tcp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,13 @@ static err_t tcp_data_sent(void *arg, struct tcp_pcb *pcb, u16_t len) {
705705

706706
tcp_poll_retries = 0;
707707

708+
INFO_TCP("Packet sent pcb:%p len:%d dur:%d\n", pcb, len, timer_get_ms() - startTime);
709+
708710
if (_ttcp->left > 0) {
709711
INFO_TCP("data left: %d\n", _ttcp->left );
710712
tcp_send_data(_ttcp);
711713
}
712714

713-
INFO_TCP("Packet sent len:%d dur:%d\n", len, timer_get_ms() - startTime);
714715
return ERR_OK;
715716
}
716717

0 commit comments

Comments
 (0)