mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-08 19:10:42 +02:00
detector type bug fix
This commit is contained in:
parent
db54fbddde
commit
eb5f481faa
@ -1797,8 +1797,10 @@ void UDPStandardImplementation::processWritingBuffer(int ithread){
|
|||||||
cprintf(GREEN,"Writing_Thread %d: Popped %p from FIFO %d\n", ithread, (void*)(wbuf[0]),0);
|
cprintf(GREEN,"Writing_Thread %d: Popped %p from FIFO %d\n", ithread, (void*)(wbuf[0]),0);
|
||||||
#endif
|
#endif
|
||||||
uint32_t numPackets = (uint32_t)(*((uint32_t*)wbuf[0]));
|
uint32_t numPackets = (uint32_t)(*((uint32_t*)wbuf[0]));
|
||||||
if(numPackets < 0)
|
cout<<"numpackets:"<<hex<<numpackets<<endl;
|
||||||
cprintf(BG_RED,"Error: Negative packet numbers: %d for FIFO %d\n",numPackets,0);
|
cout<<"dummpacketvalue"<<dummyPacketValue<<endl;
|
||||||
|
//if(numPackets < 0)
|
||||||
|
// cprintf(BG_RED,"Error: Negative packet numbers: %d for FIFO %d\n",numPackets,0);
|
||||||
#ifdef DEBUG4
|
#ifdef DEBUG4
|
||||||
cprintf(GREEN,"Writing_Thread %d: Number of Packets: %d for FIFO %d\n", ithread, numPackets, 0);
|
cprintf(GREEN,"Writing_Thread %d: Number of Packets: %d for FIFO %d\n", ithread, numPackets, 0);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user