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>2016-04-19 23:21:30 -0400
commit26ce7a9a213bdd35a13937054988e7b8fa749632 (patch)
treeada508971c70a8842c27c98832c84910cdbc6879 /src/telefire-v0.1
parent553c89f8c64398cb1a815b1fa248980cd3f62ef8 (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