Update UDP_broadcast.c

This commit is contained in:
joran2738
2023-11-08 22:47:25 +01:00
parent 5e464fd5fd
commit e47772ebf8

View File

@@ -252,10 +252,6 @@ static void udp_receive_callback(void *arg, struct udp_pcb *connection, struct p
struct pbuf *p_data;
memset(data, 0, sizeof(data));
// Convert the source IP address to a string for printing.
ipaddr_ntoa_r(addr, source_ip_str, sizeof(source_ip_str));
@@ -290,6 +286,7 @@ static void udp_receive_callback(void *arg, struct udp_pcb *connection, struct p
LOG_WARN(TAG,"udp_receive_callback: input buffer was a NULL pointer");
}
pbuf_free(p);
pbuf_free(p_data);
}
/**