Skip to content

Commit 67cf9f7

Browse files
authored
Merge pull request #12213 from hugueskamba/hk-replace-uartserial-esp
ESP8266: Replace UARTSerial references with BufferedSerial
2 parents 6b5cbff + efb5127 commit 67cf9f7

File tree

1 file changed

+2
-2
lines changed
  • components/wifi/esp8266-driver/ESP8266

1 file changed

+2
-2
lines changed

components/wifi/esp8266-driver/ESP8266/ESP8266.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#if DEVICE_SERIAL && DEVICE_INTERRUPTIN && defined(MBED_CONF_EVENTS_PRESENT) && defined(MBED_CONF_NSAPI_PRESENT) && defined(MBED_CONF_RTOS_API_PRESENT)
2121
#include <stdint.h>
2222

23-
#include "drivers/UARTSerial.h"
23+
#include "drivers/BufferedSerial.h"
2424
#include "features/netsocket/nsapi_types.h"
2525
#include "features/netsocket/WiFiAccessPoint.h"
2626
#include "PinNames.h"
@@ -427,7 +427,7 @@ class ESP8266 {
427427
mbed::Callback<void()> _callback;
428428

429429
// UART settings
430-
mbed::UARTSerial _serial;
430+
mbed::BufferedSerial _serial;
431431
PinName _serial_rts;
432432
PinName _serial_cts;
433433
rtos::Mutex _smutex; // Protect serial port access

0 commit comments

Comments
 (0)