diff --git a/firmware/lib/uart.h b/firmware/lib/uart.h index dbb4d37..0b30f22 100644 --- a/firmware/lib/uart.h +++ b/firmware/lib/uart.h @@ -14,8 +14,10 @@ */ /* This library handles the USART configuration */ -/* set atmolight serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */ -#define BAUD 38400 +/* set tolerance to 3% to allow 115200 baudrate with 16 MHz clock */ +#define BAUD_TOL 3 +/* serial baudrate, in bits per second (with 8N1 8 bits, no parity bit, 1 stop bit settings) */ +#define BAUD 115200 /* input & output streams */ FILE uart_output;