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: UART9BIT.CPP
- Revision:
- 10:89f383af0885
- Parent:
- 9:bd6af3d4c651
- Child:
- 11:2679ddcf8c96
--- a/UART9BIT.CPP Tue Aug 27 10:48:12 2019 +0800
+++ b/UART9BIT.CPP Wed Aug 28 09:32:44 2019 +0800
@@ -51,16 +51,12 @@
}
else
{
- event=serial_irq_handler_asynch(&_serial);
- //sprintf(uart9debug,"Uart9 serial_irq_handler_asynch \r\n");
- // uartdebug=true;
+ event=serial_irq_handler_asynch(&_serial);
}
rx_event = event & SERIAL_EVENT_RX_MASK;
- // sprintf(uart9debug,"Uart9 serial_irq _rx_asynch_set=%d rx_event=%04x event=%04x SERIAL_EVENT_RX_MASK=%04x\r\n",_rx_asynch_set,rx_event,event,SERIAL_EVENT_RX_MASK);
- // uartdebug=true;
if (_rx_asynch_set && rx_event) {
@@ -71,8 +67,7 @@
if (cb) {
sprintf(uart9debug,"Uart9 run cb \r\n");
- uartdebug=true;
-
+ uartdebug=true;
cb.call(rx_event);
}
sleep_manager_unlock_deep_sleep();