diff options
Diffstat (limited to 'os/hal/platforms/STM8S')
-rw-r--r-- | os/hal/platforms/STM8S/serial_lld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM8S/serial_lld.c b/os/hal/platforms/STM8S/serial_lld.c index 610591cdf..6904ac6ab 100644 --- a/os/hal/platforms/STM8S/serial_lld.c +++ b/os/hal/platforms/STM8S/serial_lld.c @@ -73,7 +73,7 @@ static ROMCONST SerialConfig default_config = { /*===========================================================================*/
static void set_error(SerialDriver *sdp, uint8_t sr) {
- chnflags_t sts = 0;
+ flagsmask_t sts = 0;
/* Note, SR register bit definitions are equal for all UARTs so using
the UART1 definitions is fine.*/
|