diff options
| author | Keith Packard <keithp@keithp.com> | 2016-08-02 16:31:41 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2016-08-02 16:55:11 -0700 |
| commit | 99753673a4a97423300427e276bf550ae5353842 (patch) | |
| tree | b85d1871a7e50810029469347b606aa09b4fec87 /src/telelcotwo-v0.1 | |
| parent | be84201495fa3cabd699012e57e797355e2bd792 (diff) | |
altos: Make telelcotwo control two boxes instead of two pads
telefiretwo is now a single pad box, so telelcotwo needs to switch
between boxes instead of pads on the same box. Do this by re-purposing
the pad arming switches into a box selector and arming switch.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telelcotwo-v0.1')
| -rw-r--r-- | src/telelcotwo-v0.1/ao_pins.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/telelcotwo-v0.1/ao_pins.h b/src/telelcotwo-v0.1/ao_pins.h index 78bda793..714a5c3a 100644 --- a/src/telelcotwo-v0.1/ao_pins.h +++ b/src/telelcotwo-v0.1/ao_pins.h @@ -156,14 +156,12 @@ #define AO_BUTTON_0_PORT &stm_gpioa #define AO_BUTTON_0 0 -#define AO_BUTTON_ARM_0 0 +#define AO_BUTTON_BOX 0 #define AO_BUTTON_1_PORT &stm_gpioa #define AO_BUTTON_1 1 -#define AO_BUTTON_ARM_1 1 - -#define AO_BUTTON_ARM_NUM 2 +#define AO_BUTTON_ARM 1 #define AO_BUTTON_2_PORT &stm_gpioa #define AO_BUTTON_2 2 |
