summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-22 15:56:04 -0800
committerKeith Packard <keithp@keithp.com>2010-11-22 15:56:04 -0800
commitb27327a05d249eaf969b67d2a8d12fc6a93841f0 (patch)
tree76f4c3ac9381369f44f10fc6e33d8a0282060c1d /src
parent68323cbb222f1f33198a42abaa0550af22f75a93 (diff)
altos: assume igniter worked.
Many igniters don't go open when fired, so there's no way to know if they worked. Assume they did as a failed igniter is unlikely to do anything when fired again anyways. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/ao_ignite.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ao_ignite.c b/src/ao_ignite.c
index 4093b6a7..58d340d9 100644
--- a/src/ao_ignite.c
+++ b/src/ao_ignite.c
@@ -113,9 +113,7 @@ ao_igniter(void)
ao_igniter_fire(igniter);
ao_delay(AO_IGNITER_CHARGE_TIME);
- status = ao_igniter_status(igniter);
- if (status == ao_igniter_open)
- ao_ignition[igniter].fired = 1;
+ ao_ignition[igniter].fired = 1;
}
}
}