Skip to content

Removing default value assignment within connect function #31

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

Closed
wants to merge 4 commits into from

Conversation

aentinger
Copy link
Contributor

@aentinger aentinger commented Mar 19, 2020

This change is catching two things at once ...

  1. we don't have the ugly function to stay complian to ESP8266 core 2.5.0 and
  2. we don't have overload function resolving problems when actually using connect with an IPAddress argument (as is done here).
    Drawback: This will break all sketches which have relied on the default parameter being set. (Note for the future: Default parameters are really dangerous).

@aentinger aentinger requested a review from Rocketct March 19, 2020 12:18
@aentinger aentinger force-pushed the remove-default-parameter branch 3 times, most recently from a769f13 to 947892a Compare March 23, 2020 06:21
@aentinger aentinger force-pushed the remove-default-parameter branch from 947892a to 3bbedad Compare March 23, 2020 06:22
@aentinger aentinger requested review from facchinm and removed request for Rocketct March 23, 2020 06:25
…nnect function we need to provide two slightly different definitions dependending wether we compile for ESP8266 or Arduino
@aentinger
Copy link
Contributor Author

Closing this because the great @facchinm initiated a upgrade to the latest ESP8266 core within for Arduino Create.

@aentinger aentinger closed this Mar 23, 2020
@sebromero sebromero deleted the remove-default-parameter branch January 29, 2024 10:41
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