summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-10-22 21:38:18 -0700
committerKeith Packard <keithp@keithp.com>2012-10-22 21:38:18 -0700
commitd4ea2e7c3ed84fb6f4e880da6c5ddf2a83d3ef61 (patch)
tree69a87f991a703dce9c9f2918ce8420680c3f992d /src
parente80d7cd18fa4dac98d941e86b5956403a7170966 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/ao_pyro.c3
1 files changed, 3 insertions, 0 deletions
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") },