Enable refclock error messages

This commit is contained in:
Miroslav Lichvar
2013-11-26 10:34:49 +01:00
parent 1f39169be3
commit bc361c48a0
2 changed files with 7 additions and 12 deletions

View File

@@ -134,9 +134,7 @@ static int pps_poll(RCL_Instance instance)
ts.tv_nsec = 0;
if (time_pps_fetch(pps->handle, PPS_TSFMT_TSPEC, &pps_info, &ts) < 0) {
#if 0
LOG(LOGS_INFO, LOGF_Refclock, "time_pps_fetch error");
#endif
LOG(LOGS_ERR, LOGF_Refclock, "time_pps_fetch() failed : %s", strerror(errno));
return 0;
}