diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-08 17:09:20 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-05-08 17:09:20 +0000 |
commit | d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6 (patch) | |
tree | a31ebbd42904206131ff4eb661b4341558ca8925 /os/hal/platforms/STM8L | |
parent | ba6519a2eaf35bc6d39188e10b6ea12ef553009d (diff) | |
download | ChibiOS-d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6.tar.gz ChibiOS-d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6.tar.bz2 ChibiOS-d0a2e55ed0cf97be924ebbdae2497fd77bfac5b6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4175 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM8L')
-rw-r--r-- | os/hal/platforms/STM8L/serial_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/platforms/STM8L/serial_lld.c b/os/hal/platforms/STM8L/serial_lld.c index b5ee21f83..b91f44a21 100644 --- a/os/hal/platforms/STM8L/serial_lld.c +++ b/os/hal/platforms/STM8L/serial_lld.c @@ -115,7 +115,7 @@ static void notify3(GenericQueue *qp) { * @notapi
*/
void sd_lld_set_error(SerialDriver *sdp, uint8_t sr) {
- ioflags_t sts = 0;
+ chnflags_t sts = 0;
if (sr & USART_SR_OR)
sts |= SD_OVERRUN_ERROR;
@@ -126,7 +126,7 @@ void sd_lld_set_error(SerialDriver *sdp, uint8_t sr) { if (sr & USART_SR_PE)
sts |= SD_PARITY_ERROR;
chSysLockFromIsr();
- chIOAddFlagsI(sdp, sts);
+ chnAddFlagsI(sdp, sts);
chSysUnlockFromIsr();
}
|