aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/util.c
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 16:08:34 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-07 23:34:23 -0400
commitd91cadb11a9fcf046e80ba398812ee3f285158c0 (patch)
tree3078936a35a22a204dfa127df909084662ac8d71 /libmaple/util.c
parentd2575d27e944905626f36f926a13a40d4832373e (diff)
downloadlibrambutan-d91cadb11a9fcf046e80ba398812ee3f285158c0.tar.gz
librambutan-d91cadb11a9fcf046e80ba398812ee3f285158c0.zip
Update outdated stm32.h usages.
stm32.h has been updated to prefix its definitions. Update the rest of libmaple to take this into account.
Diffstat (limited to 'libmaple/util.c')
-rw-r--r--libmaple/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmaple/util.c b/libmaple/util.c
index f91b0df..bb56a62 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 PCLK1
+#define ERROR_USART_CLK_SPEED STM32_PCLK1
#define ERROR_USART_BAUD 9600
#define ERROR_TX_PORT GPIOA
#define ERROR_TX_PIN 2