Commit 6be7212f authored by Adam Wujek's avatar Adam Wujek

fix params of ep_get_mac_addr

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent 8bc65747
Pipeline #614 failed with stage
in 55 seconds
......@@ -91,7 +91,7 @@ static void latency_report(struct wr_timestamp *lat)
unsigned char mac[6];
/* first time; pick a time in the future */
ep_get_mac_addr(mac);
ep_get_mac_addr(&wrc_endpoint_dev, mac);
nextj = jiffies + TICS_PER_SECOND * (10 + (mac[5] % 60));
pp_printf("%s: first sending at %li\n", __func__, nextj);
}
......
......@@ -55,7 +55,7 @@ static int cmd_delays(const char *args[])
sfp_deltaRx = rx;
/* Change the active value too (add bislide here) */
s->delta_tx_m = tx;
s->delta_rx_m = rx + ep_get_bitslide();
s->delta_rx_m = rx + ep_get_bitslide(&wrc_endpoint_dev);
} else {
pp_printf("tx: %i rx: %i\n", sfp_deltaTx, sfp_deltaRx);
}
......
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