aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/libmaple.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/libmaple.h')
-rw-r--r--libmaple/libmaple.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmaple/libmaple.h b/libmaple/libmaple.h
index 437566f..3a4042a 100644
--- a/libmaple/libmaple.h
+++ b/libmaple/libmaple.h
@@ -74,7 +74,7 @@
// Debug port settings (from ASSERT)
#define ERROR_LED_PORT GPIOA_BASE
#define ERROR_LED_PIN 5
- #define ERROR_USART_NUM 2
+ #define ERROR_USART_NUM USART2
#define ERROR_USART_BAUD 9600
#define ERROR_TX_PIN 2
#define ERROR_TX_PORT GPIOA_BASE
@@ -113,7 +113,7 @@
#define ERROR_LED_PORT GPIOC_BASE
#define ERROR_LED_PIN 15
- #define ERROR_USART_NUM 1
+ #define ERROR_USART_NUM USART1
#define ERROR_USART_BAUD 9600
#define ERROR_TX_PIN 10
#define ERROR_TX_PORT GPIOA_BASE