-
Notifications
You must be signed in to change notification settings - Fork 713
Fixes, optimizations and additions to WiFi #86
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
Conversation
Also tabs to spaces
Also a small optimization in the WiFi constructor
That way you can disable DHCP after already connecting to an AP
I'm seeing a series of additions to these pull-requests ... do you want me to hold off merging them? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to check that this->wifiEventHandler is not null before deleting?
* @brief Deletes the event handler that was used by the class | ||
*/ | ||
WiFi::~WiFi() { | ||
delete wifiEventHandler; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to check that wifiEventHandler isn't null before deleting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, C++ does that automatically. If it's null, then delete just does nothing, so the if statement is irrelevant.
Nah, code is stable. I make sure my code is stable before i make a commit. You can merge if you want. |
No description provided.