altos: Also dump data in invalid mode
authorKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:02:59 +0000 (22:02 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:02:59 +0000 (22:02 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_flight.c

index c55e55f67f1dbcd49144c67f461b24ffbd55140a..98a4b75faae1318ab6698847d7668c2bd8e5500a 100644 (file)
@@ -202,6 +202,7 @@ ao_flight(void)
                        break;
 
                case ao_flight_idle:
+               case ao_flight_invalid:
                        printf("accel %ld speed %ld\n", ao_accel, ao_speed);
                        break;