Update main.c FUNcube

master-ff
Alan Johnston 11 months ago committed by GitHub
parent 3ec2ee345e
commit f7f4d334e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -197,7 +197,7 @@ int main(int argc, char * argv[]) {
printf("Mode is CW\n"); printf("Mode is CW\n");
} else if ( * argv[1] == 'j') { } else if ( * argv[1] == 'j') {
mode = FC; mode = FC;
printf("Mode is FunCube\n"); printf("Mode is FUNcube\n");
} else { } else {
printf("Mode is BPSK\n"); printf("Mode is BPSK\n");
} }
@ -238,7 +238,7 @@ int main(int argc, char * argv[]) {
printf("Mode is CW\n"); printf("Mode is CW\n");
} else if ( mode_string == 'j') { } else if ( mode_string == 'j') {
mode = FC; mode = FC;
printf("Mode is FunCube\n"); printf("Mode is FUNcube\n");
} else if ( mode_string == 'e') { } else if ( mode_string == 'e') {
mode = REPEATER; mode = REPEATER;
printf("Mode is Repeater\n"); printf("Mode is Repeater\n");
@ -2316,7 +2316,7 @@ if (setting == ON) {
return; return;
} }
void get_tlm_fc() { // FunCube Mode telemetry generation void get_tlm_fc() { // FUNcube Mode telemetry generation
//# define FC_EM //# define FC_EM
//#define JY_1 //#define JY_1
@ -2334,7 +2334,7 @@ void get_tlm_fc() { // FunCube Mode telemetry generation
memset(source_bytes, 0x00, sizeof(source_bytes)); memset(source_bytes, 0x00, sizeof(source_bytes));
#ifdef FC_EM #ifdef FC_EM
source_bytes[0] = 0b00000001 ; // Sat Id is FunCube-EM source_bytes[0] = 0b00000001 ; // Sat Id is FUNcube-EM
#endif #endif
#ifdef JY_1 #ifdef JY_1
// source_bytes[0] = 0b11000001 ; // Sat Id is extended, Frame 2 (RT2 + WO2) // source_bytes[0] = 0b11000001 ; // Sat Id is extended, Frame 2 (RT2 + WO2)

Loading…
Cancel
Save

Powered by TurnKey Linux.