kopia lustrzana https://github.com/bristol-seds/pico-tracker
Set watchdog max_idle limits for flight
rodzic
ec4829ea43
commit
2f977f9740
|
@ -40,11 +40,12 @@ typedef enum {
|
|||
|
||||
/**
|
||||
* Define how many iterations these loops are permitted before a reset
|
||||
* is triggered.
|
||||
* is triggered. Values defined to be well above values encountered in
|
||||
* normal operation.
|
||||
*/
|
||||
#define MAXIDLE_WAIT_FOR_GPS 0x0000FFFF
|
||||
#define MAXIDLE_WHILE_TELEMETRY_ACTIVE 0x0000FFFF
|
||||
#define MAXIDLE_WAIT_FOR_NEXT_TELEMETRY 0x0000FFFF
|
||||
#define MAXIDLE_WAIT_FOR_GPS 1800
|
||||
#define MAXIDLE_WHILE_TELEMETRY_ACTIVE 60000
|
||||
#define MAXIDLE_WAIT_FOR_NEXT_TELEMETRY 7200
|
||||
|
||||
struct idle_counter {
|
||||
uint32_t wait_for_gps;
|
||||
|
|
Ładowanie…
Reference in New Issue