mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-08-10 12:20:29 +02:00
Rename JF variable to shorter version
This commit is contained in:
@@ -76,7 +76,7 @@ inline uint64_t BufferUdpReceiver::process_packets(
|
||||
|
||||
// Last frame packet received. Frame finished.
|
||||
if (packet_buffer_[i_packet].packetnum ==
|
||||
JUNGFRAU_N_PACKETS_PER_FRAME-1)
|
||||
JF_N_PACKETS_PER_FRAME - 1)
|
||||
{
|
||||
// Buffer is loaded only if this is not the last message.
|
||||
if (i_packet+1 != packet_buffer_n_packets_) {
|
||||
|
||||
@@ -110,9 +110,9 @@ int main (int argc, char *argv[]) {
|
||||
send_max_us = send_us_duration;
|
||||
}
|
||||
|
||||
if (metadata.n_received_packets < JUNGFRAU_N_PACKETS_PER_FRAME) {
|
||||
if (metadata.n_received_packets < JF_N_PACKETS_PER_FRAME) {
|
||||
n_missed_packets +=
|
||||
JUNGFRAU_N_PACKETS_PER_FRAME - metadata.n_received_packets;
|
||||
JF_N_PACKETS_PER_FRAME - metadata.n_received_packets;
|
||||
n_corrupted_frames++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user