diff options
author | Keith Packard <keithp@keithp.com> | 2017-06-27 23:37:49 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-06-27 23:37:49 -0700 |
commit | e64438271e481ca9f9eeb0ce2b1f9eca071b7ad4 (patch) | |
tree | 389a2b6ed071d19c28a8318b6e974965e6e1a251 /src/micropeak-v2.0 | |
parent | 46ff12a88136d3c274610255a918870aff9328cd (diff) |
altos/stmf0: Initialize UART RTS/CTS before turning it on
If you try this after the UART is running, it won't work.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/micropeak-v2.0')
-rw-r--r-- | src/micropeak-v2.0/ao_pins.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/micropeak-v2.0/ao_pins.h b/src/micropeak-v2.0/ao_pins.h index 13a4fd10..fa2ed804 100644 --- a/src/micropeak-v2.0/ao_pins.h +++ b/src/micropeak-v2.0/ao_pins.h @@ -53,7 +53,8 @@ extern uint8_t ao_on_battery; #define HAS_SERIAL_1 0 #define HAS_SERIAL_2 1 #define USE_SERIAL_2_STDIN 0 -#define HAS_SERIAL_SW_FLOW 0 +#define USE_SERIAL_2_FLOW 0 +#define USE_SERIAL_2_SW_FLOW 0 #define SERIAL_2_PA2_PA3 1 #define SERIAL_2_PA14_PA15 0 #define USE_SERIAL2_FLOW 0 |