diff --git a/megaavr/cores/megatinycore/UART.cpp b/megaavr/cores/megatinycore/UART.cpp index 6ee4d48b..bb6cd8fc 100644 --- a/megaavr/cores/megatinycore/UART.cpp +++ b/megaavr/cores/megatinycore/UART.cpp @@ -728,7 +728,7 @@ // If we have never written a byte, no need to flush. This special // case is needed since there is no way to force the TXCIF (transmit // complete) bit to 1 during initialization - if (!_state & 1) { + if (!(_state & 1)) { return; }