samd21: Leave serial RX interrupts enabled
authorKeith Packard <keithp@keithp.com>
Thu, 10 Nov 2022 00:29:13 +0000 (16:29 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 10 Nov 2022 00:29:13 +0000 (16:29 -0800)
commit4bd22c0cf3fc0358cff263e63ad2cc788be2bb14
tree2fc870a37c44a9a5dbd872ed16f43b00e32e6b3d
parent3b0e4fd74d6c6e5ca972d7341c7155663c230e86
samd21: Leave serial RX interrupts enabled

Just discard characters in the ISR. This avoids complex management of
the enable bit.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/samd21/ao_serial_samd21.c