summaryrefslogtreecommitdiff
path: root/src/telegps-v0.3
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-04 15:59:56 -0700
committerKeith Packard <keithp@keithp.com>2017-04-04 15:59:56 -0700
commit920b70fd5f6b78461c7ebae6b1e6490a0e050bc2 (patch)
tree8da09e50242ef208052dffbe8a76851fb4c7c6bb /src/telegps-v0.3
parent280eefc8f86e90e742c536a074d7284cce03af15 (diff)
altos: Define CC115L spi speed in each product
Different SoCs have different SPI speeds available; have each product specify the speed to use instead of trying to use 4Mhz everywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telegps-v0.3')
-rw-r--r--src/telegps-v0.3/ao_pins.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/telegps-v0.3/ao_pins.h b/src/telegps-v0.3/ao_pins.h
index 9c650cc4..28ae30a4 100644
--- a/src/telegps-v0.3/ao_pins.h
+++ b/src/telegps-v0.3/ao_pins.h
@@ -95,6 +95,7 @@
#define AO_CC115L_SPI_CS_PORT 0
#define AO_CC115L_SPI_CS_PIN 3
#define AO_CC115L_SPI_BUS 0
+#define AO_CC115L_SPI_SPEED AO_SPI_SPEED_6MHz
#define AO_CC115L_FIFO_INT_GPIO_IOCFG CC115L_IOCFG2
#define AO_CC115L_FIFO_INT_PORT 0