diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 16:08:34 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-09-07 23:34:23 -0400 |
commit | d91cadb11a9fcf046e80ba398812ee3f285158c0 (patch) | |
tree | 3078936a35a22a204dfa127df909084662ac8d71 /wirish/comm | |
parent | d2575d27e944905626f36f926a13a40d4832373e (diff) | |
download | librambutan-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 'wirish/comm')
-rw-r--r-- | wirish/comm/HardwareSerial.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/wirish/comm/HardwareSerial.cpp b/wirish/comm/HardwareSerial.cpp index 7824a4d..6ef9222 100644 --- a/wirish/comm/HardwareSerial.cpp +++ b/wirish/comm/HardwareSerial.cpp @@ -49,12 +49,12 @@ #define RX5 BOARD_UART5_RX_PIN #endif -HardwareSerial Serial1(USART1, TX1, RX1, PCLK2); -HardwareSerial Serial2(USART2, TX2, RX2, PCLK1); -HardwareSerial Serial3(USART3, TX3, RX3, PCLK1); +HardwareSerial Serial1(USART1, TX1, RX1, STM32_PCLK2); +HardwareSerial Serial2(USART2, TX2, RX2, STM32_PCLK1); +HardwareSerial Serial3(USART3, TX3, RX3, STM32_PCLK1); #if defined(STM32_HIGH_DENSITY) && !defined(BOARD_maple_RET6) -HardwareSerial Serial4(UART4, TX4, RX4, PCLK1); -HardwareSerial Serial5(UART5, TX5, RX5, PCLK1); +HardwareSerial Serial4(UART4, TX4, RX4, STM32_PCLK1); +HardwareSerial Serial5(UART5, TX5, RX5, STM32_PCLK1); #endif HardwareSerial::HardwareSerial(usart_dev *usart_device, |