Rename JF variable to shorter version

This commit is contained in:
2020-05-25 15:10:15 +02:00
parent 05b62c30e6
commit 9d85d665c8
5 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -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_) {
+2 -2
View File
@@ -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++;
}