Update main.c change to 10 sec delay after restart rpitx

pull/339/head
Alan Johnston 1 year ago committed by GitHub
parent b1983edb75
commit f2be5d3144
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1822,7 +1822,7 @@ void get_tlm_fox() {
error = 1;
FILE * rpitx_restartf2 = popen("sudo systemctl restart rpitx", "r");
pclose(rpitx_restartf2);
sleep(5); // sleep if socket connection refused
sleep(10); // was 5 // sleep if socket connection refused
// try again
error = 0;
@ -1848,7 +1848,7 @@ void get_tlm_fox() {
error = 1;
FILE * rpitx_restartf = popen("sudo systemctl restart rpitx", "r");
pclose(rpitx_restartf);
sleep(5); // sleep if socket connection refused
sleep(10); // was 5 // sleep if socket connection refused
}
}
if (error == 1)

Loading…
Cancel
Save

Powered by TurnKey Linux.