mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #7967 from juhaylinen/fix-esp8266-default-interface
ESP8266: Fix compilation error when default interface is enabledpull/7987/head
commit
eb3cbb88b3
|
@ -579,7 +579,7 @@ nsapi_connection_status_t ESP8266Interface::get_connection_status() const
|
|||
#if MBED_CONF_ESP8266_PROVIDE_DEFAULT
|
||||
|
||||
WiFiInterface *WiFiInterface::get_default_instance() {
|
||||
static ESP8266Interface esp();
|
||||
static ESP8266Interface esp;
|
||||
return &esp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue