mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Fix problem on UDP NTP client
This commit is contained in:
parent
85e0353588
commit
2c35d715fc
@ -696,6 +696,7 @@ static int udp_start(struct ttcp* ttcp) {
|
||||
WARN("TTCP [%p]: udp connect failed\n", ttcp);
|
||||
return -1;
|
||||
}
|
||||
udp_recv(ttcp->upcb, audp_recv_cb, ttcp);
|
||||
} else {
|
||||
/* bind to any IP address on port specified */
|
||||
err = udp_bind(ttcp->upcb, IP_ADDR_ANY, ttcp->port);
|
||||
|
Loading…
Reference in New Issue
Block a user