diff --git a/src/DMXSerial.cpp b/src/DMXSerial.cpp index 0a36c24..2a009ca 100644 --- a/src/DMXSerial.cpp +++ b/src/DMXSerial.cpp @@ -55,10 +55,22 @@ typedef enum { // receiver must accept 88 us break and 8 us MAB #define BREAKSPEED 100000L +#if !defined(DMX_USE_PORT1) && defined(USART_RXC_vect) + +// ATMEGA8 requires that URSEL be set to 1 when writing to register UCSRC +// This definition appends the required bit to the serial definition + +#define BREAKFORMAT (SERIAL_8E2 | (1<