Merge pull request #7967 from juhaylinen/fix-esp8266-default-interface

ESP8266: Fix compilation error when default interface is enabled
pull/7987/head
Martin Kojtal 2018-09-04 08:19:41 +02:00 committed by GitHub
commit eb3cbb88b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ nsapi_connection_status_t ESP8266Interface::get_connection_status() const
#if MBED_CONF_ESP8266_PROVIDE_DEFAULT #if MBED_CONF_ESP8266_PROVIDE_DEFAULT
WiFiInterface *WiFiInterface::get_default_instance() { WiFiInterface *WiFiInterface::get_default_instance() {
static ESP8266Interface esp(); static ESP8266Interface esp;
return &esp; return &esp;
} }