Skip to content

Commit

Permalink
sa53: adjust GNSS UART timeout value
Browse files Browse the repository at this point in the history
Every time the UART timeout happens it takes minimum 3 seconds to
recover the communication. That's why previously configured value did
help to avoid going to HOLDOVER. Adjust the value to go to holdover
after 3 consecutve timeouts.

Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
  • Loading branch information
vvfedorenko authored and agagniere committed Feb 13, 2024
1 parent a37055f commit 8558897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscillators/sa5x_oscillator.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define MAX_SERIALNUM_LENGTH 11
#define DIGITAL_TUNING_MAX 20000000LL
#define DEFAULT_PHASELIMIT 100000 // Phase limit is 100us
#define NO_GNSS_FIX_TIMEOUT 3 // seconds after last gnss Fix befor holdover
#define NO_GNSS_FIX_TIMEOUT 9 // seconds after last gnss Fix befor holdover
#define BIT(nr) (1UL << (nr))

#define ATTR_FW_SERIAL BIT(0)
Expand Down

0 comments on commit 8558897

Please sign in to comment.