|
|
|
@ -2319,8 +2319,8 @@ if (setting == ON) {
|
|
|
|
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
|
|
|
|
#define FC_SIM
|
|
|
|
//#define FC_SIM
|
|
|
|
|
|
|
|
|
|
|
|
/* create data, stream, and waveform buffers */
|
|
|
|
/* create data, stream, and waveform buffers */
|
|
|
|
|
|
|
|
|
|
|
|
@ -2343,7 +2343,9 @@ void get_tlm_fc() { // FunCube Mode telemetry generation
|
|
|
|
source_bytes[0] = source_bytes[0] | ( 0x01 & (uint8_t)(sequence % 2)); // alternate last bit for RT1, RT2.
|
|
|
|
source_bytes[0] = source_bytes[0] | ( 0x01 & (uint8_t)(sequence % 2)); // alternate last bit for RT1, RT2.
|
|
|
|
|
|
|
|
|
|
|
|
// source_bytes[1] = 0x08 ; // extended Nayify - works per code
|
|
|
|
// source_bytes[1] = 0x08 ; // extended Nayify - works per code
|
|
|
|
source_bytes[1] = 0x10 ; // extended JY-1 - works, no documentation
|
|
|
|
// source_bytes[1] = 0x10 ; // extended JY-1 - works, no documentation
|
|
|
|
|
|
|
|
source_bytes[1] = 0x0F ; // JY-1 EM
|
|
|
|
|
|
|
|
|
|
|
|
int extended = 1;
|
|
|
|
int extended = 1;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#ifdef FC_SIM
|
|
|
|
#ifdef FC_SIM
|
|
|
|
|