kopia lustrzana https://github.com/bristol-seds/pico-tracker
[sequencer] Bodge to limit gps rate to once per 2 minutes
rodzic
a9a8e20071
commit
45cf89abbf
|
@ -75,8 +75,11 @@ void telemetry_sequence(struct tracker_datapoint* dp, uint32_t n)
|
|||
if (location_aprs_active()) {
|
||||
#endif
|
||||
|
||||
/* APRS */
|
||||
aprs_telemetry(dp);
|
||||
if (gps_get_flight_state() == GPS_FLIGHT_STATE_FLOAT || /* once every 4 minutes at float */
|
||||
(n % 2)) { /* once every 2 before */
|
||||
/* APRS */
|
||||
aprs_telemetry(dp);
|
||||
}
|
||||
|
||||
#if APRS_USE_GEOFENCE
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue