Skip to content

Commit 642348b

Browse files
committed
Fix problem on UDP NTP client
1 parent e477d8c commit 642348b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firmwares/wifishield/wifiHD/src/ard_tcp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ static int udp_start(struct ttcp* ttcp) {
696696
WARN("TTCP [%p]: udp connect failed\n", ttcp);
697697
return -1;
698698
}
699+
udp_recv(ttcp->upcb, audp_recv_cb, ttcp);
699700
} else {
700701
/* bind to any IP address on port specified */
701702
err = udp_bind(ttcp->upcb, IP_ADDR_ANY, ttcp->port);

0 commit comments

Comments
 (0)