Update main.c moved wiringPisetup

pull/278/head
Alan Johnston 2 years ago committed by GitHub
parent 5343890903
commit 3cd1316491
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -45,7 +45,9 @@ int main(int argc, char * argv[]) {
printf("\n\nCubeSatSim v1.3b starting...\n\n");
program_radio();
wiringPiSetup();
program_radio();
FILE * rpitx_stop = popen("sudo systemctl stop rpitx", "r");
pclose(rpitx_stop);
@ -174,8 +176,6 @@ int main(int argc, char * argv[]) {
if (strcmp(sim_yes, "yes") == 0)
sim_mode = TRUE;
wiringPiSetup();
if (mode == AFSK)
{
// Check for SPI and AX-5043 Digital Transceiver Board

Loading…
Cancel
Save

Powered by TurnKey Linux.