mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-22 03:40:04 +02:00
finetuning printout
This commit is contained in:
parent
5198e67dbd
commit
a6b917851c
@ -6727,12 +6727,12 @@ int slsDetector::configureMAC(){
|
|||||||
if (strcasecmp(arg[0],thisDetector->detectorMAC)) {
|
if (strcasecmp(arg[0],thisDetector->detectorMAC)) {
|
||||||
memset(thisDetector->detectorMAC, 0, MAX_STR_LENGTH);
|
memset(thisDetector->detectorMAC, 0, MAX_STR_LENGTH);
|
||||||
strcpy(thisDetector->detectorMAC, arg[0]);
|
strcpy(thisDetector->detectorMAC, arg[0]);
|
||||||
std::cout << "Detector MAC updated to " << thisDetector->detectorMAC << endl;
|
cprintf(RESET,"%d: Detector MAC updated to %s\n", detId, thisDetector->detectorMAC);
|
||||||
}
|
}
|
||||||
if (strcasecmp(arg[1],thisDetector->detectorIP)) {
|
if (strcasecmp(arg[1],thisDetector->detectorIP)) {
|
||||||
memset(thisDetector->detectorIP, 0, MAX_STR_LENGTH);
|
memset(thisDetector->detectorIP, 0, MAX_STR_LENGTH);
|
||||||
strcpy(thisDetector->detectorIP, arg[0]);
|
strcpy(thisDetector->detectorIP, arg[1]);
|
||||||
std::cout << "Detector IP updated to " << thisDetector->detectorIP << endl;
|
cprintf(RESET,"%d: Detector IP updated to %s\n", detId, thisDetector->detectorIP);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user