kopia lustrzana https://github.com/bristol-seds/pico-tracker
[UBSEDS8] Oscillator issues, disabling tcxo offset field and set to use internal osc for timing rather than tcxo
rodzic
f2c1889506
commit
aa8976eaf1
|
@ -121,7 +121,7 @@
|
|||
/**
|
||||
* XOSC
|
||||
*/
|
||||
#define USE_XOSC
|
||||
//#define USE_XOSC
|
||||
#define XOSC_FREQUENCY 16369000
|
||||
#define XOSC_GCLK1_DIVIDE 4
|
||||
|
||||
|
|
|
@ -201,6 +201,9 @@ void output_telemetry_string(enum telemetry_t type)
|
|||
memset(telemetry_string, '$', dollars);
|
||||
len = dollars;
|
||||
|
||||
/* XOSC error disabled */
|
||||
_xosc_error = -1;
|
||||
|
||||
/* sprintf - full string */
|
||||
len += sprintf(telemetry_string + len,
|
||||
"%s,%02u:%02u:%02u,%02.5f,%03.5f,%ld,%u,%.2f,%.1f,%ld",
|
||||
|
@ -406,6 +409,7 @@ int main(void)
|
|||
telemetry_start(TELEMETRY_PIPS, 0xFFFF);
|
||||
|
||||
/* Measure XOSC against gps timepulse */
|
||||
measure_xosc(XOSC_MEASURE_TIMEPULSE, xosc_measure_callback);
|
||||
/* ==== Disabled === */
|
||||
//measure_xosc(XOSC_MEASURE_TIMEPULSE, xosc_measure_callback);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue