From d4ea2e7c3ed84fb6f4e880da6c5ddf2a83d3ef61 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Mon, 22 Oct 2012 21:38:18 -0700 Subject: [PATCH] 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 --- src/core/ao_pyro.c | 3 +++ 1 file changed, 3 insertions(+) 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") }, -- 2.30.2