ping: fix assert in ping_init()

This commit is contained in:
Simon Goldschmidt 2023-10-04 21:36:00 +02:00
parent 732d3411bf
commit 0627c55c51

View File

@ -403,7 +403,7 @@ ping_init(const ip_addr_t* ping_addr)
{
ping_stop();
LWIP_ASSERT("ping_target != NULL", ping_target != NULL);
LWIP_ASSERT("ping_addr != NULL", ping_addr != NULL);
ping_target = ping_addr;
#if PING_USE_SOCKETS