projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68323cb
)
altos: assume igniter worked.
author
Keith Packard
<keithp@keithp.com>
Mon, 22 Nov 2010 23:56:04 +0000
(15:56 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 22 Nov 2010 23:56:04 +0000
(15:56 -0800)
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>
src/ao_ignite.c
patch
|
blob
|
history
diff --git
a/src/ao_ignite.c
b/src/ao_ignite.c
index 4093b6a7480c428754bd3de99a32c3ccacac5914..58d340d9599f5c655a4a6e098696d6eb9710c107 100644
(file)
--- 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;
}
}
}