mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-20 16:48:01 +02:00
works virutally for virtual servers
This commit is contained in:
@ -219,6 +219,9 @@ int resetFPGA(char *mess) {
|
||||
}
|
||||
|
||||
int emptyTempFolder(char *mess) {
|
||||
#ifdef VIRTUAL
|
||||
return OK;
|
||||
#else
|
||||
char cmd[MAX_STR_LENGTH] = {0};
|
||||
char retvals[MAX_STR_LENGTH] = {0};
|
||||
|
||||
@ -240,6 +243,7 @@ int emptyTempFolder(char *mess) {
|
||||
}
|
||||
LOG(logINFO, ("\tEmptied temp folder(%s)\n", TEMP_PROG_FOLDER_NAME));
|
||||
return OK;
|
||||
#endif
|
||||
}
|
||||
|
||||
int preparetoCopyProgram(char *mess, char *functionType, FILE **fd,
|
||||
|
Reference in New Issue
Block a user