aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-04-27 15:32:31 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-04-27 15:33:06 -0400
commit033bf3f26290c41074cf487549233ea2c25120f0 (patch)
tree101ee7265732b76073168a15ddb6fd8f02d0bbae /examples
parent90c649c4b36dfc0c80d41878721c06187ada6b90 (diff)
downloadlibrambutan-033bf3f26290c41074cf487549233ea2c25120f0.tar.gz
librambutan-033bf3f26290c41074cf487549233ea2c25120f0.zip
RET6 fixes
Diffstat (limited to 'examples')
-rw-r--r--examples/test-session.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/test-session.cpp b/examples/test-session.cpp
index 1d9daf0..ad3cacb 100644
--- a/examples/test-session.cpp
+++ b/examples/test-session.cpp
@@ -855,7 +855,7 @@ void enable_usarts(void) {
Serial1.begin(BAUD);
Serial2.begin(BAUD);
Serial3.begin(BAUD);
-#ifdef STM32_HIGH_DENSITY
+#if defined(STM32_HIGH_DENSITY) && !defined(BOARD_maple_RET6)
Serial4.begin(BAUD);
Serial5.begin(BAUD);
#endif
@@ -865,7 +865,7 @@ void disable_usarts(void) {
Serial1.end();
Serial2.end();
Serial3.end();
-#ifdef STM32_HIGH_DENSITY
+#if defined(STM32_HIGH_DENSITY) && !defined(BOARD_maple_RET6)
Serial4.end();
Serial5.end();
#endif