To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit a87f186e authored by Reto Da Forno's avatar Reto Da Forno

Merge branch 'master' of gitlab.ethz.ch:tec/public/flocklab

parents 64e0ac3e 66e8e058
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
#define GUARD_TIME (RTIMER_SECOND / 500) #define GUARD_TIME (RTIMER_SECOND / 500)
#define SYNC_OFFSET (RTIMER_SECOND / 1000) #define SYNC_OFFSET (RTIMER_SECOND / 1000)
#define PPS_FRAC 4 #define PPS_FRAC 4
// hard coded value of 145475 clock cycles (0.01119038s @13MHz) compensates offset of 1 PPS output signal relative to 1 PPS signal of nodes which are synchronized with GPS directly // hard coded value of 490237 clock cycles (0.03771053s @13MHz) compensates offset of 1 PPS output signal relative to 1 PPS signal of nodes which are synchronized with GPS directly
#define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC - 145475) #define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC + 490237)
/* #define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC) */ /* #define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC) */
#define PPS_GUARD 200 #define PPS_GUARD 200
#define DELTA_GUARD 1000 #define DELTA_GUARD 1000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment