1
0
mirror of https://github.com/Optiboot/optiboot.git synced 2025-09-04 12:02:07 +03:00

Fixed UART 3 check

If UART 3 is selected it should be checked if UDR3 is defined and not if UDR1 is defined.
This commit is contained in:
Snafu
2016-10-14 03:11:56 +02:00
committed by GitHub
parent 0eb5e3710a
commit 89f16443c2

View File

@@ -61,7 +61,7 @@
# define UART_SRL UBRR2L
# define UART_UDR UDR2
#elif UART == 3
#if !defined(UDR1)
#if !defined(UDR3)
#error UART == 3, but no UART3 on device
#endif
# define UART_SRA UCSR3A