Commit 5570a745 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

userspace/wrsw_hdl: PPSG_CMD_POLL must also check phase shifter status

parent 119ce5d4
...@@ -99,9 +99,8 @@ int halexp_pps_cmd(int cmd, hexp_pps_params_t *params) ...@@ -99,9 +99,8 @@ int halexp_pps_cmd(int cmd, hexp_pps_params_t *params)
delay calculation. */ delay calculation. */
case HEXP_PPSG_CMD_POLL: case HEXP_PPSG_CMD_POLL:
busy = shw_pps_gen_busy(); busy = shw_pps_gen_busy() || hal_phase_shifter_busy();
// TRACE(TRACE_INFO, "ppsg_busy: %d\n",busy); return busy ? 0 : 1;
return busy ? 0 : 1; /* no more dmpll shifter to check */
} }
return -1; /* fixme: real error code */ return -1; /* fixme: real error code */
} }
......
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