summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arduino-nano/driver')
-rw-r--r--src/arch/arduino-nano/driver/stdout.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/arduino-nano/driver/stdout.cc b/src/arch/arduino-nano/driver/stdout.cc
index a3d905d..58ff440 100644
--- a/src/arch/arduino-nano/driver/stdout.cc
+++ b/src/arch/arduino-nano/driver/stdout.cc
@@ -2,7 +2,10 @@
#include <avr/io.h>
#include <avr/interrupt.h>
-#define BAUD 119200L
+#ifndef BAUD
+#define BAUD 9600UL
+#endif
+
#include <util/setbaud.h>
void StandardOutput::setup()