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()) {
|
if (location_aprs_active()) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* APRS */
|
if (gps_get_flight_state() == GPS_FLIGHT_STATE_FLOAT || /* once every 4 minutes at float */
|
||||||
aprs_telemetry(dp);
|
(n % 2)) { /* once every 2 before */
|
||||||
|
/* APRS */
|
||||||
|
aprs_telemetry(dp);
|
||||||
|
}
|
||||||
|
|
||||||
#if APRS_USE_GEOFENCE
|
#if APRS_USE_GEOFENCE
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue