altosui: Add support for telemetry version 4
[fw/altos] / src / ao_log_tiny.c
index 157073d49bdab99288a1e144cf3af6705945eb36..f0c0662aa4dbd6a3ba0437121d8622d57ea390d9 100644 (file)
@@ -69,7 +69,7 @@ ao_log(void)
                        if (ao_log_tiny_state == ao_flight_landed)
                                ao_log_stop();
                }
-               ao_log_tiny_data(ao_flight_pres);       // XXX change to alt
+               ao_log_tiny_data(ao_height);
                time += ao_log_tiny_interval;
                delay = time - ao_time();
                if (delay > 0)