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 d775e338 authored by Roman Trüb's avatar Roman Trüb

fixed unit of offset compensation (comment)

parent 95c0c563
......@@ -6,7 +6,7 @@
#define GUARD_TIME (RTIMER_SECOND / 500)
#define SYNC_OFFSET (RTIMER_SECOND / 1000)
#define PPS_FRAC 4
// hard coded value of 145475 clock cycles (0.01119038ms @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 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
#define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC - 145475)
/* #define PPS_OFFSET (RTIMER_SECOND / PPS_FRAC) */
#define PPS_GUARD 200
......
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