mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 10:30:41 +02:00
small change to ensure no crash at wrong frame read
This commit is contained in:
parent
8aed690113
commit
71cd046bed
@ -2226,7 +2226,9 @@ int UDPStandardImplementation::startWriting(){
|
||||
#endif
|
||||
//update frame number
|
||||
if(!((uint32_t)(*( (uint64_t*) wbuf_footer)))){
|
||||
cprintf(BG_RED,"**VERY WEIRD frame numbers for fifo %d: %d\n",i,(uint32_t)(*( (uint64_t*) wbuf_footer)));
|
||||
cprintf(BG_RED,"%d VERY WEIRD frame number=%d and popready:%d\n",
|
||||
i,(uint32_t)(*( (uint64_t*) wbuf_footer)),popready[i]);
|
||||
popready[i]=true;
|
||||
continue;
|
||||
}
|
||||
tempframenum[i] =(uint32_t)(*( (uint64_t*) wbuf_footer));
|
||||
|
Loading…
x
Reference in New Issue
Block a user