File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
libraries/lwIpWrapper/src Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -144,22 +144,22 @@ CLwipIf::~CLwipIf()
144144
145145/* -------------------------------------------------------------------------- */
146146int CLwipIf::disconnectEventcb (CCtrlMsgWrapper *resp) {
147- (void )resp;
148- if (CLwipIf::connected_to_access_point) {
149- wifi_status = WL_DISCONNECTED;
150- if (net_ifs[NI_WIFI_STATION] != nullptr ) {
151- net_ifs[NI_WIFI_STATION]->setLinkDown ();
152- }
153- }
154- return ESP_CONTROL_OK;
147+ (void )resp;
148+ if (CLwipIf::connected_to_access_point) {
149+ wifi_status = WL_DISCONNECTED;
150+ if (net_ifs[NI_WIFI_STATION] != nullptr ) {
151+ net_ifs[NI_WIFI_STATION]->setLinkDown ();
152+ }
153+ }
154+ return ESP_CONTROL_OK;
155155}
156156
157157
158158/* -------------------------------------------------------------------------- */
159159int CLwipIf::initEventCb (CCtrlMsgWrapper *resp) {
160- (void )resp;
161- CLwipIf::wifi_hw_initialized = true ;
162- return ESP_CONTROL_OK;
160+ (void )resp;
161+ CLwipIf::wifi_hw_initialized = true ;
162+ return ESP_CONTROL_OK;
163163}
164164
165165
You can’t perform that action at this time.
0 commit comments