Compare commits
No commits in common. "464cd6fd1bec2a7c38ffc54d5bf8be4a9eb55504" and "d534009ff49922307a55504902ae85f5799cd695" have entirely different histories.
464cd6fd1b
...
d534009ff4
|
@ -17,9 +17,9 @@ static inline void handle_receive(struct pbuf *p, const ip_addr_t *addr, u16_t p
|
|||
pbuf_free(p);
|
||||
}
|
||||
|
||||
static void udp_receive_callback(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
|
||||
static inline void udp_receive_callback(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
|
||||
{
|
||||
udp_client_t *udp_client_received_data = (udp_client_t *)arg;
|
||||
udp_client = *(udp_client_t *)&arg;
|
||||
handle_receive(p, addr, port);
|
||||
}
|
||||
|
||||
|
|
|
@ -83,5 +83,5 @@ void udp_server_send(const uint8_t *data, size_t length, const char *ip, uint16_
|
|||
}
|
||||
}
|
||||
|
||||
printf("Error sending data after %d tries...\n", tries);
|
||||
printf("Error sending data after %d tries...\n", retry);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue