Closed Leopardus4 closed 5 years ago
Added BUFF_SIZE macro in examples - for safety.
Question: Is that a mistake (?) in: https://github.com/Leopardus4/AVR-UART-lib/blob/1578db4a5592356f0572a9761f000fb848982efb/usart.h#L18
"BAUD" probably should be "x"
Best regards Leopardus
Thanks for your contribution. The "BAUD" is definitely a mistake and will be fixed soon.
Added BUFF_SIZE macro in examples - for safety.
Question: Is that a mistake (?) in: https://github.com/Leopardus4/AVR-UART-lib/blob/1578db4a5592356f0572a9761f000fb848982efb/usart.h#L18
define BAUD_CALC_FAST(x) ((F_CPU)/(BAUD*16UL)-1)
"BAUD" probably should be "x"
Best regards Leopardus