Skip to content

Hardwareserial: Disable interrupts while setting TXC bit #6685

Closed
@NicoHood

Description

@NicoHood

As discussed here the TXC bit setting should be atomic. Otherwise other (non usart) interrupts may corrupt the hardwareserial flush() function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: HardwareSerialThe hardware serial functionality of the core librariesType: DuplicateAnother item already exists for this topic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions