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