mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 13:57:13 +02:00
remove cout
This commit is contained in:
@ -268,8 +268,8 @@ public:
|
|||||||
|
|
||||||
header_t = (eiger_packet_header_t*)((char*)(data +(dataMap[newiy][newix]-8)));
|
header_t = (eiger_packet_header_t*)((char*)(data +(dataMap[newiy][newix]-8)));
|
||||||
if(*( (uint16_t*) header_t->missingpacket)==0xFFFF){
|
if(*( (uint16_t*) header_t->missingpacket)==0xFFFF){
|
||||||
cprintf(RED,"missing packet\n");
|
// cprintf(RED,"missing packet\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,3 +6,5 @@ ROOTINCLUDE=$(ROOTSYS)/include
|
|||||||
energyCalibration.o: energyCalibration.cpp
|
energyCalibration.o: energyCalibration.cpp
|
||||||
$(CC) $(CFLAGS) energyCalibration.cpp -I $(ROOTINCLUDE)
|
$(CC) $(CFLAGS) energyCalibration.cpp -I $(ROOTINCLUDE)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f energyCalibration.o
|
@ -103,7 +103,7 @@ public:
|
|||||||
if (np==nPackets){
|
if (np==nPackets){
|
||||||
if (pnum==nPackets) {
|
if (pnum==nPackets) {
|
||||||
//cprintf(BG_GREEN, "Frame Found\n");
|
//cprintf(BG_GREEN, "Frame Found\n");
|
||||||
cout << "Frame found!" << endl;
|
// cout << "Frame found!" << endl;
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
//cprintf(BG_RED, "Too many packets for this frame! fnum:%d, pnum:%d np:%d\n",fnum,pnum,np);
|
//cprintf(BG_RED, "Too many packets for this frame! fnum:%d, pnum:%d np:%d\n",fnum,pnum,np);
|
||||||
|
Reference in New Issue
Block a user