From: Keith Packard Date: Tue, 23 Oct 2012 04:38:18 +0000 (-0700) Subject: altos: Allow pyro flight state config to be set X-Git-Tag: 1.1.9.2~22^2~6 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=d4ea2e7c3ed84fb6f4e880da6c5ddf2a83d3ef61 altos: Allow pyro flight state config to be set Without these lines, flight state compares can't be shown or set. Signed-off-by: Keith Packard --- diff --git a/src/core/ao_pyro.c b/src/core/ao_pyro.c index b1cfd9d8..aac8fda5 100644 --- a/src/core/ao_pyro.c +++ b/src/core/ao_pyro.c @@ -271,6 +271,9 @@ const struct { { "t<", ao_pyro_time_less, offsetof(struct ao_pyro, time_less), HELP("time less (s * 100)") }, { "t>", ao_pyro_time_greater, offsetof(struct ao_pyro, time_greater), HELP("time greater (s * 100)") }, + { "f<", ao_pyro_state_less, offsetof(struct ao_pyro, state_less), HELP("state less") }, + { "f>=",ao_pyro_state_greater_or_equal, offsetof(struct ao_pyro, state_greater_or_equal), HELP("state greater or equal") }, + { "A", ao_pyro_ascending, NO_VALUE, HELP("ascending") }, { "D", ao_pyro_descending, NO_VALUE, HELP("descending") },