mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-15 17:11:20 +01:00
bug fix: 16 bit returning overflow value instead of -1 for msising packet
This commit is contained in:
@@ -300,7 +300,7 @@ public:
|
||||
newiy = (iy - (iy%linesperpacket));
|
||||
|
||||
header_t = (eiger_packet_header_t*)((char*)(data +(dataMap[newiy][newix]-8)));
|
||||
if(*( (uint16_t*) header_t->missingpacket)==0xFFFFFFFF){
|
||||
if(*( (uint16_t*) header_t->missingpacket)==0xFFFF){
|
||||
// cprintf(RED,"missing packet\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user