Skip to content

Memmory usage #11

@aragornale

Description

@aragornale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions