aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authormarcoveeneman <marco-veeneman@hotmail.com>2017-04-18 22:41:25 +0200
committermarcoveeneman <marco-veeneman@hotmail.com>2017-04-18 22:41:25 +0200
commit01423b08c2f7f1e4f3c7f8f23ae505e61328239e (patch)
tree0ed880a01dca2086795fcc6da6ae97e7c6458661 /os/hal
parent9617145f2190d02942d537c8a9bc79d10d174187 (diff)
downloadChibiOS-Contrib-01423b08c2f7f1e4f3c7f8f23ae505e61328239e.tar.gz
ChibiOS-Contrib-01423b08c2f7f1e4f3c7f8f23ae505e61328239e.tar.bz2
ChibiOS-Contrib-01423b08c2f7f1e4f3c7f8f23ae505e61328239e.zip
Changed the flag set when a serial buffer is full.
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/ports/TIVA/LLD/UART/hal_serial_lld.c2
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();
}