altos: No need to set GPS tick in satellite packet
authorKeith Packard <keithp@keithp.com>
Wed, 1 May 2013 16:40:59 +0000 (09:40 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 1 May 2013 16:40:59 +0000 (09:40 -0700)
It's already been set in the location packet, and doing it twice bumps
TeleMetrum over the code space limit (yay!)

Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_telemetry.c

index 17c69c25ddb2e346873c2bd15d4969690272098a..c3bbfec5aa7d40468f903ab53919985979020636 100644 (file)
@@ -244,7 +244,6 @@ ao_send_satellite(void)
        {
                telemetry.generic.type = AO_TELEMETRY_SATELLITE;
                ao_mutex_get(&ao_gps_mutex);
-               telemetry.satellite.tick = ao_gps_tick;
                telemetry.satellite.channels = ao_gps_tracking_data.channels;
                ao_xmemcpy(&telemetry.satellite.sats,
                       &ao_gps_tracking_data.sats,