Skip to content

Conversation

@GitHubLionel
Copy link

Some improvements:

make a compromise: use Ticker only for ESP8266, use native task for ESP32
_updateType and _updateResult initialized in constructor to avoid compiler warning
_updateType and _updateResult should be initialised only one time in the if (!index) condition
replace comparison to emptystring by isEmpty()
set (void) filename; to avoid compiler warning

Some improvements:

    make a compromise: use Ticker only for ESP8266, use native task for ESP32
    _updateType and _updateResult initialized in constructor to avoid compiler warning
    _updateType and _updateResult should be initialised only one time in the if (!index) condition
    replace comparison to emptystring by isEmpty()
    set (void) filename; to avoid compiler warning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant