projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Add igniter ground testing code
[fw/altos]
/
src
/
ao_ignite.c
diff --git
a/src/ao_ignite.c
b/src/ao_ignite.c
index 8206e342ef2f5c119a41ddb1420d1531f7d7522e..4093b6a7480c428754bd3de99a32c3ccacac5914 100644
(file)
--- a/
src/ao_ignite.c
+++ b/
src/ao_ignite.c
@@
-26,7
+26,7
@@
/* test these values with real igniters */
#define AO_IGNITER_OPEN 1000
#define AO_IGNITER_CLOSED 7000
/* 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
0
)
+#define AO_IGNITER_FIRE_TIME AO_MS_TO_TICKS(50)
#define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
struct ao_ignition {
#define AO_IGNITER_CHARGE_TIME AO_MS_TO_TICKS(2000)
struct ao_ignition {
@@
-121,20
+121,6
@@
ao_igniter(void)
}
}
}
}
-static uint8_t
-ao_match_word(__code char *word)
-{
- while (*word) {
- if (ao_cmd_lex_c != *word) {
- ao_cmd_status = ao_cmd_syntax_error;
- return 0;
- }
- word++;
- ao_cmd_lex();
- }
- return 1;
-}
-
void
ao_ignite_manual(void)
{
void
ao_ignite_manual(void)
{