projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Add separate 'ao_launch_tick'. Use in pyro and lockout.
[fw/altos]
/
src
/
kernel
/
ao_pyro.c
diff --git
a/src/kernel/ao_pyro.c
b/src/kernel/ao_pyro.c
index 3c872354ba5fa7ccb1b7c7dca29be32cb40fc23d..527112acfbfcbc1332464966f95ed5c47cbfac54 100644
(file)
--- a/
src/kernel/ao_pyro.c
+++ b/
src/kernel/ao_pyro.c
@@
-160,14
+160,14
@@
ao_pyro_ready(struct ao_pyro *pyro)
#endif
case ao_pyro_time_less:
#endif
case ao_pyro_time_less:
- if ((int16_t) (ao_time() - ao_
boost
_tick) <= pyro->time_less)
+ if ((int16_t) (ao_time() - ao_
launch
_tick) <= pyro->time_less)
continue;
continue;
- DBG("time %d > %d\n", (int16_t)(ao_time() - ao_
boost
_tick), pyro->time_less);
+ DBG("time %d > %d\n", (int16_t)(ao_time() - ao_
launch
_tick), pyro->time_less);
break;
case ao_pyro_time_greater:
break;
case ao_pyro_time_greater:
- if ((int16_t) (ao_time() - ao_
boost
_tick) >= pyro->time_greater)
+ if ((int16_t) (ao_time() - ao_
launch
_tick) >= pyro->time_greater)
continue;
continue;
- DBG("time %d < %d\n", (int16_t)(ao_time() - ao_
boost
_tick), pyro->time_greater);
+ DBG("time %d < %d\n", (int16_t)(ao_time() - ao_
launch
_tick), pyro->time_greater);
break;
case ao_pyro_ascending:
break;
case ao_pyro_ascending: