Commit 40bafe89 authored by Aurelio Colosimo's avatar Aurelio Colosimo

stack size: purge_socket optimization ported to CONFIG_PPSI too

Signed-off-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
parent 9bcdefc9
......@@ -73,7 +73,7 @@ static int meas_phase_range(wr_socket_t * sock, int phase_min, int phase_max,
while (spll_shifter_busy(0)) ;
purge_socket(sock);
purge_socket(sock, buf);
i = 0;
while (setpoint <= phase_max) {
......@@ -105,7 +105,7 @@ static int meas_phase_range(wr_socket_t * sock, int phase_min, int phase_max,
setpoint += phase_step;
spll_set_phase_shift(0, setpoint);
while (spll_shifter_busy(0)) ;
purge_socket(sock);
purge_socket(sock, buf);
ts_sync.correct = 0;
i++;
......
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