Skip to content

Commit c423bdb

Browse files
committed
Fix FileHandle example: use BufferedSerial instead of UARTSerial
1 parent 5fc9c9e commit c423bdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

APIs_Platform/FileHandle/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
static DigitalOut led2(LED2);
44

5-
// UARTSerial derives from FileHandle
6-
static UARTSerial device(STDIO_UART_TX, STDIO_UART_RX);
5+
// BufferedSerial derives from FileHandle
6+
static BufferedSerial device(STDIO_UART_TX, STDIO_UART_RX);
77

88
int main()
99
{

0 commit comments

Comments
 (0)