diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-26 19:39:13 -0600 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-26 19:39:13 -0600 |
commit | 956f4dff1cc521059434743624b1271fb92b96ae (patch) | |
tree | 77cde1601979643bc77f8103b2eec281f5d751c3 /src/test/ao_flight_test.c | |
parent | 62547a042d042fadec652c5081f96816a8e66970 (diff) |
altos: Light pyro charges simultaneously if so configured
Don't try to be nice to the battery, just let the pyro circuit deal
with it and try to get all of the specified circuits going at the same
time if they're configured to do so.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test/ao_flight_test.c')
-rw-r--r-- | src/test/ao_flight_test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/ao_flight_test.c b/src/test/ao_flight_test.c index 6e53d8e1..faf31aa7 100644 --- a/src/test/ao_flight_test.c +++ b/src/test/ao_flight_test.c @@ -273,13 +273,11 @@ uint16_t prev_tick; #define AO_PYRO_3 3 static void -ao_pyro_tell(int pin) +ao_pyro_pin_set(uint8_t pin, uint8_t value) { - printf ("fire pyro %d\n", pin); + printf ("set pyro %d %d\n", pin, value); } -#define ao_pyro_fire_port(port,bit,pin) ao_pyro_tell(pin) - #include "ao_pyro.c" #endif |