kopia lustrzana https://github.com/bristol-seds/pico-tracker
[backlog] Bodge backlog rate, only backlog with valid lock
rodzic
2543e62c0e
commit
e42b80c263
|
@ -106,7 +106,8 @@ void run_sequencer(uint32_t n)
|
|||
telemetry_sequence(dp, n);
|
||||
|
||||
/* Backlog */
|
||||
if ((n % 60) == 10) { /* Every hour, start ten minutes */
|
||||
if (((n % 15) == 10) && /* Once per hour with 4 minute wakeup */
|
||||
gps_is_locked()) { /* And the gps is locked */
|
||||
record_backlog(dp);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue