summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-02 11:49:21 -0700
committerKeith Packard <keithp@keithp.com>2017-05-02 11:49:21 -0700
commita6e1010f7519c5d1243e8950df6f022576152a87 (patch)
tree2513f181769c780faf0bdba156fe53614f8a6435 /src
parent475940cb8032c76622c64dd0bd30f31c0b0f6cf4 (diff)
altos/telegps-v2.0: Disable external serial port to save ROM
We'll have to rewrite some of the serial code to avoid sucking memory here. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/telegps-v2.0/ao_pins.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/telegps-v2.0/ao_pins.h b/src/telegps-v2.0/ao_pins.h
index 87b49934..f92564d6 100644
--- a/src/telegps-v2.0/ao_pins.h
+++ b/src/telegps-v2.0/ao_pins.h
@@ -103,11 +103,11 @@ struct ao_adc {
#define AO_M25_SPI_BUS AO_SPI_1_PA5_PA6_PA7
/* Serial */
-#define HAS_SERIAL_1 1
+#define HAS_SERIAL_1 0
#define SERIAL_1_PB6_PB7 1
#define USE_SERIAL_1_STDIN 0
-#define HAS_SERIAL_2 1
+#define HAS_SERIAL_2 1
#define SERIAL_2_PA2_PA3 1
#define USE_SERIAL_2_STDIN 0