diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-03-16 10:43:57 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-03-16 10:43:57 +0000 |
commit | 8ecb193368678a4a75cb65674fdb69e97888adfd (patch) | |
tree | 4ece0d3472e2f86dd505880a1a6bd51780d08798 /os/hal/ports/AVR/serial_lld.c | |
parent | ceeef3c918319996786b297b40a43e99e446e2c9 (diff) | |
download | ChibiOS-8ecb193368678a4a75cb65674fdb69e97888adfd.tar.gz ChibiOS-8ecb193368678a4a75cb65674fdb69e97888adfd.tar.bz2 ChibiOS-8ecb193368678a4a75cb65674fdb69e97888adfd.zip |
Queues improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9124 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/AVR/serial_lld.c')
-rw-r--r-- | os/hal/ports/AVR/serial_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/AVR/serial_lld.c b/os/hal/ports/AVR/serial_lld.c index c8967b381..dfb0a889e 100644 --- a/os/hal/ports/AVR/serial_lld.c +++ b/os/hal/ports/AVR/serial_lld.c @@ -252,7 +252,7 @@ OSAL_IRQ_HANDLER(AVR_SD1_TX_VECT) { osalSysLockFromISR();
b = sdRequestDataI(&SD1);
osalSysUnlockFromISR();
- if (b < Q_OK)
+ if (b < MSG_OK)
UCSR0B &= ~(1 << UDRIE0);
else
UDR0 = b;
@@ -295,7 +295,7 @@ OSAL_IRQ_HANDLER(AVR_SD2_TX_VECT) { osalSysLockFromISR();
b = sdRequestDataI(&SD2);
osalSysUnlockFromISR();
- if (b < Q_OK)
+ if (b < MSG_OK)
UCSR1B &= ~(1 << UDRIE1);
else
UDR1 = b;
|