-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Bugfix/persistentchecks #3798
Bugfix/persistentchecks #3798
Conversation
fixes assumtions that persistent matches current configs, and prevents changes when such conditions exist
@tablatronix will you be making the requested minor changes? |
Requested minor changes? |
wifi_softap_get_config(&conf_current); | ||
if(!softap_config_equal(conf, conf_current)) { | ||
struct softap_config conf_compare; | ||
if(WiFi._persistent) wifi_softap_get_config_default(&conf_compare); |
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.
fix indentation
if(sta_config_equal(current_conf, conf)) { | ||
struct station_config conf_compare; | ||
if(WiFi._persistent) wifi_station_get_config_default(&conf_compare); | ||
else wifi_station_get_config(&conf_compare); |
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.
fix indentation
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 you mean add brackets, or is it using tabs ?
Those :p just fix indentation, please. I'd like to have this ready to merge. |
woah that just showed up now, weird. |
Thanks! |
* persistent check fixes fixes assumtions that persistent matches current configs, and prevents changes when such conditions exist * oops * fix code compliance block scoping (cherry picked from commit 0643d6e)
initial test #3641