mirror of https://github.com/ARMmbed/mbed-os.git
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
parent
18c941cc84
commit
efb512706f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue