virtual servers: redundant declarations fixed

This commit is contained in:
2020-03-10 15:50:33 +01:00
parent 5192dae9c5
commit ac1c40d6f9
11 changed files with 20 additions and 51 deletions

View File

@ -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

View File

@ -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;