Skip to content

Commit 6b5cbff

Browse files
authored
Merge pull request #12209 from hugueskamba/hk-replace-uartserial-nxp
NXP target: Replace UARTSerial references with BufferedSerial
2 parents d6e69ef + 7819909 commit 6b5cbff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

targets/TARGET_NXP/TARGET_LPC176X/TARGET_UBLOX_C027/ONBOARD_UBLOX_PPP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "platform/mbed_thread.h"
2424
#include "PinNames.h"
2525

26-
#include "UARTSerial.h"
26+
#include "drivers/BufferedSerial.h"
2727
#include "CellularLog.h"
2828

2929
using namespace mbed;
@@ -77,7 +77,7 @@ void ONBOARD_UBLOX_PPP::press_power_button(int time_ms)
7777

7878
CellularDevice *CellularDevice::get_target_default_instance()
7979
{
80-
static UARTSerial serial(MDMTXD, MDMRXD, 115200);
80+
static BufferedSerial serial(MDMTXD, MDMRXD, 115200);
8181
#if DEVICE_SERIAL_FC
8282
if (MDMRTS != NC && MDMCTS != NC) {
8383
tr_debug("Modem flow control: RTS %d CTS %d", MDMRTS, MDMCTS);

0 commit comments

Comments
 (0)