Skip to content

Commit f19e53d

Browse files
author
Veijo Pesonen
committed
Cleans up some mbed namespacing
1 parent ded3a81 commit f19e53d

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
@@ -50,6 +50,8 @@
5050

5151
#define TRACE_GROUP "ESPI" // ESP8266 Interface
5252

53+
using namespace mbed;
54+
5355
#if defined MBED_CONF_ESP8266_TX && defined MBED_CONF_ESP8266_RX
5456
ESP8266Interface::ESP8266Interface()
5557
: _esp(MBED_CONF_ESP8266_TX, MBED_CONF_ESP8266_RX, MBED_CONF_ESP8266_DEBUG, MBED_CONF_ESP8266_RTS, MBED_CONF_ESP8266_CTS),
@@ -622,7 +624,7 @@ void ESP8266Interface::event()
622624
}
623625
}
624626

625-
void ESP8266Interface::attach(mbed::Callback<void(nsapi_event_t, intptr_t)> status_cb)
627+
void ESP8266Interface::attach(Callback<void(nsapi_event_t, intptr_t)> status_cb)
626628
{
627629
_conn_stat_cb = status_cb;
628630
}

ESP8266Interface.h

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

367367
// Connection state reporting to application
368368
nsapi_connection_status_t _conn_stat;
369-
Callback<void(nsapi_event_t, intptr_t)> _conn_stat_cb;
369+
mbed::Callback<void(nsapi_event_t, intptr_t)> _conn_stat_cb;
370370

371371
// Background OOB processing
372372
// Use global EventQueue

0 commit comments

Comments
 (0)