aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-06 22:36:43 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 23:34:23 -0400
commit558b89afe973cde142c99d5fb58ffbc99e032e62 (patch)
tree0536374fdcbdd835bd1a24c7aaae3aa067bb0845
parentb232da196a4b97a45da92212afdd8e2364b833c2 (diff)
downloadlibrambutan-558b89afe973cde142c99d5fb58ffbc99e032e62.tar.gz
librambutan-558b89afe973cde142c99d5fb58ffbc99e032e62.zip
util.c: Respect stm32.h.
-rw-r--r--libmaple/util.c2
1 files changed, 1 insertions, 1 deletions
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