Skip to content

small addons #5847

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 7, 2019
Merged

small addons #5847

merged 6 commits into from
Mar 7, 2019

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Mar 7, 2019

  • make (static) ESP8266WebServer::responseCodeToString visible and usable
  • esp8266:coreVersionNumeric(): add a define to check on its usability
#if HAS_ESP8266_VERSION_NUMERIC
    if (esp8266::coreVersionNumeric() >= 20500042)
    {
        // modern api
    }
    else
#endif
    {
        // older api
    }

@d-a-v d-a-v merged commit 2528013 into esp8266:master Mar 7, 2019
@d-a-v d-a-v deleted the smalladdons branch March 7, 2019 10:37
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.

2 participants