mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
lwip: refactor to socket ping
Do some refactor to socket ping: 1. Add ping_deinit to kill ping thread 2. Apply configuration set by esp_ping_set_target to socket ping 3. Limit only one ping thread
This commit is contained in:
@@ -43,7 +43,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
void ping_init(void);
|
||||
int ping_init(void);
|
||||
|
||||
#ifdef ESP_PING
|
||||
void ping_deinit(void);
|
||||
#endif
|
||||
|
||||
#if !PING_USE_SOCKETS
|
||||
void ping_send_now(void);
|
||||
|
Reference in New Issue
Block a user