diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-10-19 09:01:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-10-19 09:01:36 +0200 |
commit | 255085d06a75c424cd6b95aaac10056e5de65876 (patch) | |
tree | 345a6bb1772089e4928e88f5035648f82b51531e /src/arch/arduino-nano/driver | |
parent | 458c89d71c3aa22eb5e83d4e34930a8978c0ef7e (diff) |
arduino nano: support additional CPU frequencies
Diffstat (limited to 'src/arch/arduino-nano/driver')
-rw-r--r-- | src/arch/arduino-nano/driver/stdout.cc | 5 |
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() |