Skip to content

Commit eb3cbb8

Browse files
authored
Merge pull request #7967 from juhaylinen/fix-esp8266-default-interface
ESP8266: Fix compilation error when default interface is enabled
2 parents 4fb3aec + 273f7c6 commit eb3cbb8

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
@@ -579,7 +579,7 @@ nsapi_connection_status_t ESP8266Interface::get_connection_status() const
579579
#if MBED_CONF_ESP8266_PROVIDE_DEFAULT
580580

581581
WiFiInterface *WiFiInterface::get_default_instance() {
582-
static ESP8266Interface esp();
582+
static ESP8266Interface esp;
583583
return &esp;
584584
}
585585

0 commit comments

Comments
 (0)