Skip to content

Commit f54b250

Browse files
author
Veijo Pesonen
committed
Drops std:: because string.h is included
1 parent 60b5547 commit f54b250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/wifi/esp8266-driver/ESP8266Interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const char *ESP8266Interface::get_ip_address()
241241
}
242242

243243
const char *ip_buff = _esp.ip_addr();
244-
if (!ip_buff || std::strcmp(ip_buff, "0.0.0.0") == 0) {
244+
if (!ip_buff || strcmp(ip_buff, "0.0.0.0") == 0) {
245245
return NULL;
246246
}
247247

0 commit comments

Comments
 (0)