mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
cpu/atmega2560: adapted UART driver
This commit is contained in:
parent
d4c2ee62b4
commit
1125f5feb3
@ -135,6 +135,8 @@ static int init_base(uart_t uart, uint32_t baudrate)
|
||||
UART3_BAUD_RATE_H = (clock_divider >> 8);
|
||||
break;
|
||||
#endif /* UART_3 */
|
||||
default:
|
||||
(void)clock_divider; /* this makes cppcheck happy */
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user