mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
sim: m68hc11: fix -Wimplicit-fallthrough warnings
Seems like these register operations intended on falling thru.
This commit is contained in:
@@ -523,6 +523,7 @@ m68hc11sio_io_read_buffer (struct hw *me,
|
||||
case M6811_SCSR:
|
||||
controller->rx_clear_scsr = m68hc11_cpu->ios[M6811_SCSR]
|
||||
& (M6811_RDRF | M6811_IDLE | M6811_OR | M6811_NF | M6811_FE);
|
||||
ATTRIBUTE_FALLTHROUGH;
|
||||
|
||||
case M6811_BAUD:
|
||||
case M6811_SCCR1:
|
||||
|
||||
@@ -405,6 +405,7 @@ m68hc11spi_io_read_buffer (struct hw *me,
|
||||
case M6811_SPSR:
|
||||
controller->rx_clear_scsr = m68hc11_cpu->ios[M6811_SCSR]
|
||||
& (M6811_SPIF | M6811_WCOL | M6811_MODF);
|
||||
ATTRIBUTE_FALLTHROUGH;
|
||||
|
||||
case M6811_SPCR:
|
||||
val = m68hc11_cpu->ios[base];
|
||||
|
||||
Reference in New Issue
Block a user