Skip to content

Commit

Permalink
bug fix: 16 bit returning overflow value instead of -1 for msising pa…
Browse files Browse the repository at this point in the history
…cket
  • Loading branch information
thattil committed Jul 18, 2016
1 parent 2e894f3 commit ed7d6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slsDetectorCalibration/eigerHalfModuleData.h
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class eigerHalfModuleData : public slsReceiverData<uint32_t> {
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;
}
Expand Down

0 comments on commit ed7d6b2

Please sign in to comment.