Hardwareserial: Disable interrupts while setting TXC bit #6685
Labels
Component: HardwareSerial
The hardware serial functionality of the core libraries
Type: Duplicate
Another item already exists for this topic
As discussed here the TXC bit setting should be atomic. Otherwise other (non usart) interrupts may corrupt the hardwareserial flush() function.
The text was updated successfully, but these errors were encountered: