mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-08-12 18:43:15 +00:00
Ares: new protocol
ARES Gamma 370, P-51D Mustang 350, RTF models with 6HPA-Tx and AZS12006-Rx (6 channel).
This commit is contained in:
@@ -104,7 +104,7 @@ uint16_t packet_period;
|
||||
uint8_t packet_count;
|
||||
uint8_t packet_sent;
|
||||
uint8_t packet_length;
|
||||
#if defined(HOTT_CC2500_INO) || defined(ESKY150V2_CC2500_INO) || defined(MLINK_CYRF6936_INO)
|
||||
#if defined(HOTT_CC2500_INO) || defined(ESKY150V2_CC2500_INO) || defined(MLINK_CYRF6936_INO) || defined(ARES_CC2500_INO)
|
||||
uint8_t hopping_frequency[78];
|
||||
#else
|
||||
uint8_t hopping_frequency[50];
|
||||
@@ -130,7 +130,7 @@ uint16_t pps_counter;
|
||||
#ifdef CC2500_INSTALLED
|
||||
#ifdef SCANNER_CC2500_INO
|
||||
uint8_t calData[255];
|
||||
#elif defined(HOTT_CC2500_INO) || defined(ESKY150V2_CC2500_INO)
|
||||
#elif defined(HOTT_CC2500_INO) || defined(ESKY150V2_CC2500_INO) || defined(ARES_CC2500_INO)
|
||||
uint8_t calData[75];
|
||||
#else
|
||||
uint8_t calData[50];
|
||||
@@ -635,7 +635,11 @@ void setup()
|
||||
option = FORCE_HOTT_TUNING; // Use config-defined tuning value for HOTT
|
||||
else
|
||||
#endif
|
||||
option = (uint8_t)PPM_prot_line->option; // Use radio-defined option value
|
||||
#if defined(FORCE_ARES_TUNING) && defined(ARES_CC2500_INO)
|
||||
if (protocol==PROTO_ARES)
|
||||
option = FORCE_ARES_TUNING; // Use config-defined tuning value for ARES
|
||||
else
|
||||
#endif option = (uint8_t)PPM_prot_line->option; // Use radio-defined option value
|
||||
|
||||
if(PPM_prot_line->power) POWER_FLAG_on;
|
||||
if(PPM_prot_line->autobind)
|
||||
@@ -1376,6 +1380,11 @@ void update_serial_data()
|
||||
if (protocol==PROTO_HOTT)
|
||||
option=FORCE_HOTT_TUNING; // Use config-defined tuning value for HOTT
|
||||
else
|
||||
#endif
|
||||
#if defined(FORCE_ARES_TUNING) && defined(ARES_CC2500_INO)
|
||||
if (protocol==PROTO_ARES)
|
||||
option=FORCE_ARES_TUNING; // Use config-defined tuning value for ARES
|
||||
else
|
||||
#endif
|
||||
option=rx_ok_buff[3]; // Use radio-defined option value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user