Commit d7dd717d authored by Aurelio Colosimo's avatar Aurelio Colosimo

spec: main loop, retreive timestamp of received packet

parent 9c27977c
......@@ -44,7 +44,7 @@ void spec_main_loop(struct pp_instance *ppi)
* We got a packet. If it's not ours, continue consuming
* the pending timeout
*/
i = spec_recv_packet(ppi, packet, sizeof(packet), NULL);
i = spec_recv_packet(ppi, packet, sizeof(_packet), &ppi->last_rcv_time);
if (0) {
int j;
pp_printf("recvd: %i\n", 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