kopia lustrzana https://github.com/bristol-seds/pico-tracker
rodzic
cdb58d037c
commit
eb1ad8d872
|
@ -14,3 +14,9 @@
|
|||
testing. These define how many sleep cycles are permitted in that
|
||||
state before we stop kicking the watchdog. 0xFFFF seems like a
|
||||
good conservative value, but you may want to be more agressive.
|
||||
|
||||
- In `aprs.h`
|
||||
- Set callsign and symbol
|
||||
|
||||
- In `main.c`
|
||||
- Set callsign
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
/**
|
||||
* XOSC
|
||||
*/
|
||||
#define USE_XOSC
|
||||
#define USE_XOSC 1
|
||||
#define XOSC_FREQUENCY 16369000
|
||||
#define XOSC_GCLK1_DIVIDE 2
|
||||
|
||||
|
@ -164,7 +164,7 @@
|
|||
* APRS
|
||||
*/
|
||||
#define APRS_ENABLE 1
|
||||
#define APRS_USE_GEOFENCE 0
|
||||
#define APRS_USE_GEOFENCE 1
|
||||
#define APRS_POWER RF_POWER_14dBm
|
||||
|
||||
/**
|
||||
|
@ -173,7 +173,7 @@
|
|||
* There is a performance penalty to using the watchdog - you must
|
||||
* wait up to 1/16kHz when kicking to sync with it. Disable when not in use
|
||||
*/
|
||||
#define DEBUG_USE_INTWATCHDOG 1
|
||||
#define DEBUG_USE_INTWATCHDOG 0
|
||||
#define WDT_GCLK GCLK_GENERATOR_4
|
||||
|
||||
/**
|
||||
|
|
|
@ -43,9 +43,9 @@ typedef enum {
|
|||
* is triggered. Values defined to be well above values encountered in
|
||||
* normal operation.
|
||||
*/
|
||||
#define MAXIDLE_WAIT_FOR_GPS 1800
|
||||
#define MAXIDLE_WAIT_FOR_GPS 2400
|
||||
#define MAXIDLE_WHILE_TELEMETRY_ACTIVE 60000
|
||||
#define MAXIDLE_WAIT_FOR_NEXT_TELEMETRY 7200
|
||||
#define MAXIDLE_WAIT_FOR_NEXT_TELEMETRY 30000
|
||||
|
||||
struct idle_counter {
|
||||
uint32_t wait_for_gps;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#include "backlog.h"
|
||||
#include "pips.h"
|
||||
|
||||
#define CALLSIGN "UBSEDSx"
|
||||
#define CALLSIGN "UBSEDS9"
|
||||
#define APRS_COMMENT "RTTY/434.6U8N2"
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue