4199f986ad
Clearing the DRE flag for the transmit interrupt at the end of a uart.write() also cleared the RXC flag disabling the receive interrupt. This commit also changes the flag set/clear mechanism in the driver for SPI as well, even if it did not cause a problem there. But at least it saves a few bytes of code.