Skip to content

Commit

Permalink
Merge pull request #2086 from mehlis/spark-core-fix-uart-freq
Browse files Browse the repository at this point in the history
spark-core fix UART speed
  • Loading branch information
haukepetersen committed Nov 25, 2014
2 parents c7e949c + 7ee1703 commit 62d53f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/spark-core/include/periph_conf.h
Expand Up @@ -88,7 +88,7 @@
#define UART_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_USART2EN)
#define UART_0_IRQ USART2_IRQn
#define UART_0_ISR isr_usart2
#define UART_0_BUS_FREQ (72000000/4)
#define UART_0_BUS_FREQ (CLOCK_CORECLOCK/2)
/* UART 0 pin configuration */
#define UART_0_PORT GPIOA
#define UART_0_PORT_CLKEN() (RCC->APB2ENR |= RCC_APB2ENR_IOPAEN)
Expand Down

0 comments on commit 62d53f9

Please sign in to comment.