summaryrefslogtreecommitdiff
path: root/src/telefire-v0.1
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-17 19:30:35 -0800
committerKeith Packard <keithp@keithp.com>2015-12-23 23:12:18 -0800
commitd5901b4dd25a5988d3ee3ebb17cf78f4a5bb74ad (patch)
treec5804edb727607b25d2a0c3d4f779738ad33a653 /src/telefire-v0.1
parent466917ca8bd55f68e2f26b718ed3e55fd4b6f2c7 (diff)
altos: Add pad support for new telefire versions
Makes the voltage divider values configurable, and allows for pyro channels that don't have the resistors necessary to check for a stuck relay. Also supports STM32L processors with wider GPIO registers, and uses the new ao_gpio_set/clr_bits functions to fire igniters rather than cc1111-specific code. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telefire-v0.1')
-rw-r--r--src/telefire-v0.1/ao_pins.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/telefire-v0.1/ao_pins.h b/src/telefire-v0.1/ao_pins.h
index 47ae663f..1087c7c9 100644
--- a/src/telefire-v0.1/ao_pins.h
+++ b/src/telefire-v0.1/ao_pins.h
@@ -39,6 +39,8 @@
#define PACKET_HAS_MASTER 0
#define PACKET_HAS_SLAVE 0
+#define PAD_BOX 0
+
#define AO_LED_CONTINUITY(c) (1 << ((c) + 2))
#define AO_LED_CONTINUITY_MASK (0xc)
#define AO_LED_ARMED 0x10