1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-15 09:33:50 +01:00

cpu/atmega2560: removed deps to F_CPU

This commit is contained in:
Hauke Petersen 2016-01-05 13:29:18 +01:00
parent 80023f07d8
commit 6fc95e4d6d
2 changed files with 1 additions and 3 deletions

View File

@ -80,7 +80,7 @@ int uart_init(uart_t uart, uint32_t baudrate, uart_rx_cb_t rx_cb, void *arg)
static int init_base(uart_t uart, uint32_t baudrate)
{
uint16_t clock_divider = F_CPU / (16 * baudrate);
uint16_t clock_divider = CLOCK_CORECLOCK / (16 * baudrate);
switch (uart) {
#if UART_0_EN

View File

@ -24,8 +24,6 @@
/* For Catchall-Loop */
#include "board.h"
#include <util/delay.h>
#include <stdio.h>
/**