altos: Fix debug printf in ao_pyro for state >=
authorKeith Packard <keithp@keithp.com>
Tue, 12 Sep 2017 20:41:11 +0000 (13:41 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 12 Sep 2017 20:41:11 +0000 (13:41 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_pyro.c

index a0881f9e3a8262fce6ec2b925363c5fcbb75ac32..9543b3ef20cd60f8a9d85f9442ea3ea5dd3d98cd 100644 (file)
@@ -181,7 +181,7 @@ ao_pyro_ready(struct ao_pyro *pyro)
                case ao_pyro_state_greater_or_equal:
                        if (ao_flight_state >= pyro->state_greater_or_equal)
                                continue;
-                       DBG("state %d >= %d\n", ao_flight_state, pyro->state_less);
+                       DBG("state %d < %d\n", ao_flight_state, pyro->state_greater_or_equal);
                        break;
 
                default: