diff options
author | Keith Packard <keithp@keithp.com> | 2011-08-27 13:24:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-08-27 13:24:41 -0700 |
commit | b3c95582774355c991d0a9f27d0a86881e643e62 (patch) | |
tree | e86859313f8b5c8339d7996136f258a5517df79b /src/cc1111/ao_ignite.c | |
parent | 6b2db651a1dbc7ea97fce802b5f10b88be1ab42b (diff) |
altos: move igniter defines back to ao_pins.h
so that ao_launch gets them too
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/cc1111/ao_ignite.c')
-rw-r--r-- | src/cc1111/ao_ignite.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/cc1111/ao_ignite.c b/src/cc1111/ao_ignite.c index 0fd2b4bf..289263ab 100644 --- a/src/cc1111/ao_ignite.c +++ b/src/cc1111/ao_ignite.c @@ -17,28 +17,6 @@ #include "ao.h" -#if IGNITE_ON_P2 -#define AO_IGNITER_DROGUE P2_3 -#define AO_IGNITER_MAIN P2_4 -#define AO_IGNITER_DIR P2DIR -#define AO_IGNITER_DROGUE_BIT (1 << 3) -#define AO_IGNITER_MAIN_BIT (1 << 4) -#endif - -#if IGNITE_ON_P0 -#define AO_IGNITER_DROGUE P0_5 -#define AO_IGNITER_MAIN P0_4 -#define AO_IGNITER_DIR P0DIR -#define AO_IGNITER_DROGUE_BIT (1 << 5) -#define AO_IGNITER_MAIN_BIT (1 << 4) -#endif - -/* test these values with real igniters */ -#define AO_IGNITER_OPEN 1000 -#define AO_IGNITER_CLOSED 7000 -#define AO_IGNITER_FIRE_TIME AO_MS_TO_TICKS(50) -#define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000) - __xdata struct ao_ignition ao_ignition[2]; void |