mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 15:20:02 +02:00
binaries in
This commit is contained in:
parent
ff6f960ba9
commit
b937bbb058
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -341,11 +341,9 @@ int waitForFPGAtoTouchFlash(char* mess) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// convert to int
|
// convert to int
|
||||||
result = 1;
|
if (sscanf(retvals, "%d\n", &result) != 1) {
|
||||||
int retval = sscanf(retvals, "%d\n", &result);
|
sprintf(mess, "Could not program fpga. (could not scan int for gpio status: [%s])\n",
|
||||||
if (retval != 1) {
|
retvals);
|
||||||
sprintf(mess, "Could not program fpga. (could not scan int for gpio status: [%s] retval:%d, result:%d)\n",
|
|
||||||
retvals, retval, result);
|
|
||||||
LOG(logERROR, (mess));
|
LOG(logERROR, (mess));
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user