Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: serial_api9bit.h
- Revision:
- 12:f0c99768aba2
- Parent:
- 11:2679ddcf8c96
- Child:
- 13:269ae13f9857
diff -r 2679ddcf8c96 -r f0c99768aba2 serial_api9bit.h --- a/serial_api9bit.h Fri Sep 06 13:36:45 2019 +0800 +++ b/serial_api9bit.h Wed Sep 25 15:41:10 2019 +0800 @@ -30,6 +30,7 @@ #if DEVICE_SERIAL_ASYNCH #include "dma_api.h" #include "dma.h" +#define DbPrintf(...) sprintf(QStr,__VA_ARGS__); PutDebMsg(QStr,32) #define UART_PARITY_BY_UART_DATTBIT9 (0x11ul << UART_LINE_PBE_Pos) /*!< UART_LINE setting to keep parity bit as '0' \hideinitializer */ @@ -47,7 +48,7 @@ void serial_putc_9bit(serial_t *obj, uint16_t c); extern char uart9debug[100]; extern bool uartdebug; - +extern char QStr[32];