diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-19 20:32:34 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-19 20:39:19 -0700 |
commit | a87a8e8067d7b2d0ff3a3274af9f1e919b5b7793 (patch) | |
tree | 07cb8210d1ef0ab4b8947d99c7d6d8633e18b003 | |
parent | 16eb0b04df3d1db65bd40717133abe94db0f2a15 (diff) |
altos/easymini: Use different pins for igniter outputs
Was using the I2C outputs which are open drain, which makes it
impossible to force them high as needed to driver our igniters.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/easymini-v0.1/ao_pins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/easymini-v0.1/ao_pins.h b/src/easymini-v0.1/ao_pins.h index fdeb3039..12d6c5db 100644 --- a/src/easymini-v0.1/ao_pins.h +++ b/src/easymini-v0.1/ao_pins.h @@ -117,11 +117,11 @@ struct ao_adc { #define AO_IGNITER_OPEN 60 #define AO_IGNITER_DROGUE_PORT 0 -#define AO_IGNITER_DROGUE_PIN 4 +#define AO_IGNITER_DROGUE_PIN 2 #define AO_IGNITER_SET_DROGUE(v) ao_gpio_set(AO_IGNITER_DROGUE_PORT, AO_IGNITER_DROGUE_PIN, AO_IGNITER_DROGUE, v) #define AO_IGNITER_MAIN_PORT 0 -#define AO_IGNITER_MAIN_PIN 5 +#define AO_IGNITER_MAIN_PIN 3 #define AO_IGNITER_SET_MAIN(v) ao_gpio_set(AO_IGNITER_MAIN_PORT, AO_IGNITER_MAIN_PIN, AO_IGNITER_MAIN, v) #define AO_ADC_DUMP(p) \ |