Commit 3b2875b1 authored by Aurelio Colosimo's avatar Aurelio Colosimo

trivial: spec timestamp for slave starts from a random value (debug purpose)

parent 04a4e74c
......@@ -26,6 +26,12 @@ void pps_gen_init()
PPSG->ADJ_UTCHI = 0;
PPSG->ADJ_NSEC = 0;
#ifdef PPSI_SLAVE
/* Random initial time:q for slave */
PPSG->ADJ_UTCLO = 123456;
PPSG->ADJ_NSEC = 987654;
#endif
PPSG->CR = cr | PPSG_CR_CNT_SET;
PPSG->CR = cr;
}
......
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