ts2phc_slave: print master offset

Make this information more visible by default, since it is the key
output of this program.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
master
Vladimir Oltean 2020-06-29 01:58:59 +03:00
parent 314ff98903
commit 1441562149
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ static int ts2phc_slave_event(struct ts2phc_slave *slave,
adj = servo_sample(slave->clock->servo, offset, extts_ts, adj = servo_sample(slave->clock->servo, offset, extts_ts,
SAMPLE_WEIGHT, &slave->clock->servo_state); SAMPLE_WEIGHT, &slave->clock->servo_state);
pr_debug("%s master offset %10" PRId64 " s%d freq %+7.0f", pr_info("%s master offset %10" PRId64 " s%d freq %+7.0f",
slave->name, offset, slave->clock->servo_state, adj); slave->name, offset, slave->clock->servo_state, adj);
switch (slave->clock->servo_state) { switch (slave->clock->servo_state) {
case SERVO_UNLOCKED: case SERVO_UNLOCKED: