Commit 32b3b4d4 authored by Andreas Schmidt's avatar Andreas Schmidt

Remove parameter.

parent d1e36751
Pipeline #2659 failed with stages
in 1 minute and 11 seconds
......@@ -9,7 +9,8 @@
#include "../../util/common.h"
#include "dataTransmitter.h"
bool send_to_socket(PrrtSocket* sock_ptr, PrrtReceiver *recv, uint8_t* buf, prrtPacketLength_t length, struct timespec *packet_timestamp, uint64_t* packet_clockstamp) {
bool send_to_socket(PrrtSocket* sock_ptr, uint8_t* buf, prrtPacketLength_t length, struct timespec *packet_timestamp, uint64_t* packet_clockstamp) {
PrrtReceiver *recv = sock_ptr->receiver;
if(sock_ptr->isHardwareTimestamping) {
struct msghdr msg;
struct iovec iov;
......@@ -95,7 +96,7 @@ static bool send_packet(PrrtSocket *sock_ptr, PrrtPacket *packet) {
struct timespec timestamp;
uint64_t cyclestamp;
send_to_socket(sock_ptr, sock_ptr->receiver, buf, length, &timestamp, &cyclestamp);
send_to_socket(sock_ptr, buf, length, &timestamp, &cyclestamp);
XlapTimeStampValue(sock_ptr, ts_data_packet, packet->sequenceNumber, ChannelTransmit, timestamp);
XlapCycleStampValue(sock_ptr, ts_data_packet, packet->sequenceNumber, ChannelTransmit, cyclestamp);
......
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