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)
delay calculation. */
case HEXP_PPSG_CMD_POLL:
busy = shw_pps_gen_busy();
// TRACE(TRACE_INFO, "ppsg_busy: %d\n",busy);
return busy ? 0 : 1; /* no more dmpll shifter to check */
busy = shw_pps_gen_busy() || hal_phase_shifter_busy();
return busy ? 0 : 1;
}
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