kopia lustrzana https://github.com/bristol-seds/pico-tracker
[backlog] only when backlog in use
rodzic
bc625f9778
commit
362e96fd55
|
@ -138,6 +138,7 @@ void run_sequencer(uint32_t n, uint32_t cycle_time_s)
|
||||||
/* Telemetry */
|
/* Telemetry */
|
||||||
telemetry_sequence(dp, n);
|
telemetry_sequence(dp, n);
|
||||||
|
|
||||||
|
#if BACKLOG_RECORD_BACKLOG
|
||||||
/* Backlog */
|
/* Backlog */
|
||||||
if ((gps_is_locked() == GPS_LOCKED) && /* gps is locked. we can use this data */
|
if ((gps_is_locked() == GPS_LOCKED) && /* gps is locked. we can use this data */
|
||||||
(cycle_time_s > 0)) { /* and an actual cycle */
|
(cycle_time_s > 0)) { /* and an actual cycle */
|
||||||
|
@ -155,6 +156,7 @@ void run_sequencer(uint32_t n, uint32_t cycle_time_s)
|
||||||
record_backlog(dp);
|
record_backlog(dp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Battery */
|
/* Battery */
|
||||||
update_battery(dp);
|
update_battery(dp);
|
||||||
|
|
Ładowanie…
Reference in New Issue