mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10: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
|
||||
result = 1;
|
||||
int retval = sscanf(retvals, "%d\n", &result);
|
||||
if (retval != 1) {
|
||||
sprintf(mess, "Could not program fpga. (could not scan int for gpio status: [%s] retval:%d, result:%d)\n",
|
||||
retvals, retval, result);
|
||||
if (sscanf(retvals, "%d\n", &result) != 1) {
|
||||
sprintf(mess, "Could not program fpga. (could not scan int for gpio status: [%s])\n",
|
||||
retvals);
|
||||
LOG(logERROR, (mess));
|
||||
return FAIL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user