Add M17 stream information to rtxStatus struct

pull/187/head
Marco 2023-08-15 18:54:08 +02:00 zatwierdzone przez Silvano Seva
rodzic 74f7912b4c
commit a0f5d55cc1
2 zmienionych plików z 13 dodań i 3 usunięć

Wyświetl plik

@ -55,9 +55,14 @@ typedef struct
uint8_t can : 4, /**< M17 Channel Access Number */
_unused : 4;
char source_address[10]; /**< M17 call source address */
char destination_address[10]; /**< M17 call routing address */
bool invertRxPhase; /**< M17 RX phase inversion */
char source_address[10]; /**< M17 call source address */
char destination_address[10]; /**< M17 call routing address */
bool invertRxPhase; /**< M17 RX phase inversion */
bool lsfOk; /** M17 LSF is valid */
char M17_dst[10]; /** M17 LSF destination */
char M17_src[10]; /** M17 LSF source */
char M17_orig[10]; /** M17 LSF traffic originator */
char M17_refl[10]; /** M17 LSF reflector module */
}
rtxStatus_t;

Wyświetl plik

@ -59,6 +59,11 @@ void rtx_init(pthread_mutex_t *m)
rtxStatus.txToneEn = 0;
rtxStatus.txTone = 0;
rtxStatus.invertRxPhase = false;
rtxStatus.lsfOk = false;
rtxStatus.M17_src[0] = '\0';
rtxStatus.M17_dst[0] = '\0';
rtxStatus.M17_orig[0] = '\0';
rtxStatus.M17_refl[0] = '\0';
currMode = &noMode;
/*