Merge pull request #12213 from hugueskamba/hk-replace-uartserial-esp

ESP8266: Replace UARTSerial references with BufferedSerial
pull/12267/head
Martin Kojtal 2020-01-17 09:10:01 +00:00 committed by GitHub
commit 67cf9f7bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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