altos: Fixup for ao_sample_orient rename
authorKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 06:33:11 +0000 (23:33 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 28 Oct 2013 06:33:11 +0000 (23:33 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_telemetry.c

index a2726016557e02a50a8a638249fdb2f9b198d070..c118d0077b3485b40577894dda456b0aba901aa6 100644 (file)
@@ -115,7 +115,7 @@ ao_send_mega_sensor(void)
        telemetry.generic.tick = packet->tick;
        telemetry.generic.type = AO_TELEMETRY_MEGA_SENSOR;
 
        telemetry.generic.tick = packet->tick;
        telemetry.generic.type = AO_TELEMETRY_MEGA_SENSOR;
 
-       telemetry.mega_sensor.orient = ao_orient;
+       telemetry.mega_sensor.orient = ao_sample_orient;
        telemetry.mega_sensor.accel = ao_data_accel(packet);
        telemetry.mega_sensor.pres = ao_data_pres(packet);
        telemetry.mega_sensor.temp = ao_data_temp(packet);
        telemetry.mega_sensor.accel = ao_data_accel(packet);
        telemetry.mega_sensor.pres = ao_data_pres(packet);
        telemetry.mega_sensor.temp = ao_data_temp(packet);