aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC56x/serial_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/SPC56x/serial_lld.c')
-rw-r--r--os/hal/platforms/SPC56x/serial_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/SPC56x/serial_lld.c b/os/hal/platforms/SPC56x/serial_lld.c
index 7effeeb60..e562b6c2d 100644
--- a/os/hal/platforms/SPC56x/serial_lld.c
+++ b/os/hal/platforms/SPC56x/serial_lld.c
@@ -117,7 +117,7 @@ static void esci_deinit(volatile struct ESCI_tag *escip) {
* @param[in] sr eSCI SR register value
*/
static void set_error(SerialDriver *sdp, uint32_t sr) {
- chnflags_t sts = 0;
+ flagsmask_t sts = 0;
if (sr & 0x08000000)
sts |= SD_OVERRUN_ERROR;