Remove references to accel variables when building baro-only flight
test code.
Signed-off-by: Keith Packard <keithp@keithp.com>
static void
ao_flight_dump(void)
{
static void
ao_flight_dump(void)
{
int16_t accel;
accel = ((ao_ground_accel - ao_sample_accel) * ao_accel_scale) >> 16;
int16_t accel;
accel = ((ao_ground_accel - ao_sample_accel) * ao_accel_scale) >> 16;
printf ("sample:\n");
printf (" tick %d\n", ao_sample_tick);
printf ("sample:\n");
printf (" tick %d\n", ao_sample_tick);
printf (" alt %d\n", ao_sample_alt);
printf (" height %d\n", ao_sample_height);
printf (" alt %d\n", ao_sample_alt);
printf (" height %d\n", ao_sample_height);
printf (" accel %d.%02d\n", int_part(accel), frac_part(accel));
printf (" accel %d.%02d\n", int_part(accel), frac_part(accel));