Skip to content

Commit f2f33c6

Browse files
CLwipIf fix indentations
1 parent 6de1568 commit f2f33c6

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

libraries/lwIpWrapper/src/CNetIf.cpp

+11-11
Original file line numberDiff line numberDiff line change
@@ -144,22 +144,22 @@ CLwipIf::~CLwipIf()
144144

145145
/* -------------------------------------------------------------------------- */
146146
int 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
/* -------------------------------------------------------------------------- */
159159
int 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

0 commit comments

Comments
 (0)