Update main.c move program_radio()

beta-v1.3.1-freq
Alan Johnston 2 years ago committed by GitHub
parent 625d740308
commit 4fdda4c1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -47,8 +47,6 @@ int main(int argc, char * argv[]) {
wiringPiSetup();
program_radio();
// FILE * rpitx_stop = popen("sudo systemctl stop rpitx", "r");
FILE * rpitx_stop = popen("sudo systemctl restart rpitx", "r");
pclose(rpitx_stop);
@ -159,6 +157,8 @@ int main(int argc, char * argv[]) {
printf("==%s==%s==\n", tx, rx);
program_radio();
reset_count = (reset_count + 1) % 0xffff;
if ((fabs(lat_file) > 0) && (fabs(lat_file) < 90.0) && (fabs(long_file) > 0) && (fabs(long_file) < 180.0)) {

Loading…
Cancel
Save

Powered by TurnKey Linux.