diff options
author | marcoveeneman <marco-veeneman@hotmail.com> | 2017-04-18 22:41:25 +0200 |
---|---|---|
committer | marcoveeneman <marco-veeneman@hotmail.com> | 2017-04-18 22:41:25 +0200 |
commit | 01423b08c2f7f1e4f3c7f8f23ae505e61328239e (patch) | |
tree | 0ed880a01dca2086795fcc6da6ae97e7c6458661 | |
parent | 9617145f2190d02942d537c8a9bc79d10d174187 (diff) | |
download | ChibiOS-Contrib-01423b08c2f7f1e4f3c7f8f23ae505e61328239e.tar.gz ChibiOS-Contrib-01423b08c2f7f1e4f3c7f8f23ae505e61328239e.tar.bz2 ChibiOS-Contrib-01423b08c2f7f1e4f3c7f8f23ae505e61328239e.zip |
Changed the flag set when a serial buffer is full.
-rw-r--r-- | os/hal/ports/TIVA/LLD/UART/hal_serial_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/TIVA/LLD/UART/hal_serial_lld.c b/os/hal/ports/TIVA/LLD/UART/hal_serial_lld.c index 2e3b213..0060240 100644 --- a/os/hal/ports/TIVA/LLD/UART/hal_serial_lld.c +++ b/os/hal/ports/TIVA/LLD/UART/hal_serial_lld.c @@ -208,7 +208,7 @@ static void serial_serve_interrupt(SerialDriver *sdp) while ((HWREG(u + UART_O_FR) & UART_FR_RXFE) == 0) { osalSysLockFromISR(); if (iqPutI(&sdp->iqueue, HWREG(u + UART_O_DR)) < Q_OK) { - chnAddFlagsI(sdp, SD_OVERRUN_ERROR); + chnAddFlagsI(sdp, SD_QUEUE_FULL_ERROR); } osalSysUnlockFromISR(); } |