ESP32_ping icon indicating copy to clipboard operation
ESP32_ping copied to clipboard

Memmory usage

Open aragornale opened this issue 5 years ago • 0 comments

Work fine, but after using the ESP32 a few hours it´s resets. Debugging i´ve found everytime i use ping_start(), eats 56 bytes of memory, resulting in a run out memory after a few hours working. Here is the little piece of code i´m using to check my gateway: if (ping_start(WiFi.gatewayIP(), 1, 0, 0, 5)) {PingCount=0; lcd.setCursor (10,0); lcd.print ((char)4);} else {PingCount++; lcd.setCursor (10,0); lcd.print (" ");}

any ideas? thanks a lot

aragornale avatar Nov 30 '19 00:11 aragornale