removed rest of rpitx except for AFSK

pull/45/head
alanbjohnston 6 years ago committed by GitHub
parent 048cd2a6a3
commit d8f37caab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -504,7 +504,7 @@ else
} }
// Send ID in CW (Morse Code) // Send ID in CW (Morse Code)
cw_id = OFF;
if (cw_id == ON) // Don't send CW if using AX5043 or in mode cycling or set by 3rd argument if (cw_id == ON) // Don't send CW if using AX5043 or in mode cycling or set by 3rd argument
{ {
char cw_str[200]; char cw_str[200];
@ -621,6 +621,7 @@ while (loop-- != 0)
sleep(loop_count); sleep(loop_count);
printf("Done sleeping\n"); printf("Done sleeping\n");
} }
/*
// int transmit = popen("timeout 1 sudo /home/pi/rpitx/rpitx -i- -m RF -f 434.897e3","r"); // int transmit = popen("timeout 1 sudo /home/pi/rpitx/rpitx -i- -m RF -f 434.897e3","r");
int txResult = popen("sudo killall -9 rpitx > /dev/null 2>&1", "r"); int txResult = popen("sudo killall -9 rpitx > /dev/null 2>&1", "r");
pclose(txResult); pclose(txResult);
@ -631,7 +632,7 @@ while (loop-- != 0)
if(cw_id == ON) // only turn off Power LED if CW ID is enabled (i.e. not demo.sh mode cycling) if(cw_id == ON) // only turn off Power LED if CW ID is enabled (i.e. not demo.sh mode cycling)
digitalWrite (onLed, onLedOff); digitalWrite (onLed, onLedOff);
*/
return 0; return 0;
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.