mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 00:00:02 +02:00
bug fix: 16 bit returning overflow value instead of -1 for msising packet
This commit is contained in:
parent
2e894f33ce
commit
ed7d6b2995
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user