From 558b89afe973cde142c99d5fb58ffbc99e032e62 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 6 Sep 2011 22:36:43 -0400 Subject: util.c: Respect stm32.h. --- libmaple/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmaple') diff --git a/libmaple/util.c b/libmaple/util.c index 8c7b3c8..f91b0df 100644 --- a/libmaple/util.c +++ b/libmaple/util.c @@ -39,7 +39,7 @@ /* Failed ASSERT()s send out a message using this USART config. */ #ifndef ERROR_USART #define ERROR_USART USART2 -#define ERROR_USART_CLK_SPEED 72000000UL +#define ERROR_USART_CLK_SPEED PCLK1 #define ERROR_USART_BAUD 9600 #define ERROR_TX_PORT GPIOA #define ERROR_TX_PIN 2 -- cgit v1.2.3