ESP8266: Replace UARTSerial references with BufferedSerial

`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
pull/12213/head
Hugues Kamba 2020-01-08 10:29:11 +00:00
parent 18c941cc84
commit efb512706f
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
#if DEVICE_SERIAL && DEVICE_INTERRUPTIN && defined(MBED_CONF_EVENTS_PRESENT) && defined(MBED_CONF_NSAPI_PRESENT) && defined(MBED_CONF_RTOS_API_PRESENT)
#include <stdint.h>
#include "drivers/UARTSerial.h"
#include "drivers/BufferedSerial.h"
#include "features/netsocket/nsapi_types.h"
#include "features/netsocket/WiFiAccessPoint.h"
#include "PinNames.h"
@ -427,7 +427,7 @@ private:
mbed::Callback<void()> _callback;
// UART settings
mbed::UARTSerial _serial;
mbed::BufferedSerial _serial;
PinName _serial_rts;
PinName _serial_cts;
rtos::Mutex _smutex; // Protect serial port access