Skip to content

Commit 7dbc13e

Browse files
author
Veijo Pesonen
committed
Cleans up some mbed namespacing
1 parent ed2bb74 commit 7dbc13e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ESP8266Interface.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040

4141
#define TRACE_GROUP "ESPI" // ESP8266 Interface
4242

43+
using namespace mbed;
44+
4345
#if defined MBED_CONF_ESP8266_TX && defined MBED_CONF_ESP8266_RX
4446
ESP8266Interface::ESP8266Interface()
4547
: _esp(MBED_CONF_ESP8266_TX, MBED_CONF_ESP8266_RX, MBED_CONF_ESP8266_DEBUG, MBED_CONF_ESP8266_RTS, MBED_CONF_ESP8266_CTS),
@@ -612,7 +614,7 @@ void ESP8266Interface::event()
612614
}
613615
}
614616

615-
void ESP8266Interface::attach(mbed::Callback<void(nsapi_event_t, intptr_t)> status_cb)
617+
void ESP8266Interface::attach(Callback<void(nsapi_event_t, intptr_t)> status_cb)
616618
{
617619
_conn_stat_cb = status_cb;
618620
}

ESP8266Interface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class ESP8266Interface : public NetworkStack, public WiFiInterface {
376376

377377
// Connection state reporting to application
378378
nsapi_connection_status_t _conn_stat;
379-
Callback<void(nsapi_event_t, intptr_t)> _conn_stat_cb;
379+
mbed::Callback<void(nsapi_event_t, intptr_t)> _conn_stat_cb;
380380

381381
// Background OOB processing
382382
// Use global EventQueue

0 commit comments

Comments
 (0)