Commit 33dcff87 authored by Jean-Claude BAU's avatar Jean-Claude BAU

Fix halexp_pps_cmd() returned value when rts_adjust_phase is called

parent 04b795b1
Subproject commit abd17a0c4111a7863a099d06c457e4248a567811
Subproject commit f1759c647af806bfd8e1489733eb1fc6553a5422
......@@ -110,7 +110,7 @@ int halexp_pps_cmd(int cmd, hexp_pps_params_t * params)
accommodate the different phase shifts on each port
(and the fiber/cable connected to it).
*/
return rts_adjust_phase(0, params->adjust_phase_shift) ? 0 : -1;
return rts_adjust_phase(0, params->adjust_phase_shift);
case HEXP_PPSG_CMD_ADJUST_NSEC:
shw_pps_gen_adjust(PPSG_ADJUST_NSEC, params->adjust_nsec);
......
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