Fix UDP buffer size bug

This commit is contained in:
2020-05-15 15:13:51 +02:00
parent 0c5c1549d0
commit 24391a66c2
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ namespace core_buffer {
const int BUFFER_UDP_RCVBUF_N_SLOTS = 100;
// +1 for packet headers.
const int BUFFER_UDP_RCVBUF_BYTES =
(JUNGFRAU_BYTES_PER_PACKET * BUFFER_UDP_RCVBUF_N_SLOTS);
(JF_BYTES_PER_FRAME * BUFFER_UDP_RCVBUF_N_SLOTS);
// Microseconds timeout for UDP recv.
const int BUFFER_UDP_US_TIMEOUT = 2 * 1000;