mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-21 09:08:00 +02:00
virtual servers: redundant declarations fixed
This commit is contained in:
@ -152,7 +152,7 @@ int main(int argc, char *argv[]){
|
||||
FILE_LOG(logINFORED,("Rebooting!\n"));
|
||||
fflush(stdout);
|
||||
#if defined(MYTHEN3D) || defined(GOTTHARD2D)
|
||||
rebootControllerAndFPGA();
|
||||
rebootNiosControllerAndFPGA();
|
||||
#else
|
||||
system("reboot");
|
||||
#endif
|
||||
|
@ -611,6 +611,11 @@ int M_nofunc(int file_des) {
|
||||
return Server_SendResult(file_des, OTHER, NO_UPDATE, NULL, 0);
|
||||
}
|
||||
|
||||
#if defined(MYTHEN3D) || defined(GOTTHARD2D)
|
||||
void rebootNiosControllerAndFPGA() {
|
||||
rebootControllerAndFPGA();
|
||||
}
|
||||
#endif
|
||||
|
||||
int exec_command(int file_des) {
|
||||
ret = OK;
|
||||
|
Reference in New Issue
Block a user