Small changes

This commit is contained in:
2021-09-14 11:38:02 +02:00
parent 0f7c0391d2
commit d0b98af45c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class FrameWorker {
// Buffer and helper structures
bool in_progress = false;
uint64_t m_current_index = 0;
PacketBuffer<jfjoch_packet_t, 64> m_buffer;
PacketBuffer<jungfrau_packet_t, 64> m_buffer;
// Buffer processing
inline uint64_t process_packets(BufferBinaryFormat& buffer);
+1 -1
View File
@@ -31,7 +31,7 @@ inline uint64_t FrameWorker::process_packets(BufferBinaryFormat& buffer){
}
// Otherwise pop the queue (and set current frame index)
jfjoch_packet_t& c_packet = m_buffer.pop_front();
jungfrau_packet_t& c_packet = m_buffer.pop_front();
// Sanity check: rather throw than segfault...
if(c_packet.packetnum >= JF_N_PACKETS_PER_FRAME) {