mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-15 00:42:12 +02:00
frame number 0 from firmware in eiger is dealt with
This commit is contained in:
parent
39847c5db6
commit
eed951016b
@ -430,6 +430,13 @@ uint32_t Listener::ListenToAnImage(char* buf) {
|
|||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Eiger Firmware in a weird state
|
||||||
|
if (myDetectorType == EIGER && fnum == 0) {
|
||||||
|
cprintf(RED,"[%u]: Got Frame Number Zero from Firmware. Discarding Packet\n", udpPortNumber);
|
||||||
|
numPacketsCaught--;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
lastCaughtFrameIndex = fnum;
|
lastCaughtFrameIndex = fnum;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user