ACCST protocol support added
This commit is contained in:
@@ -234,14 +234,14 @@ static const uint8_t moduleOptions[] = {
|
||||
#else
|
||||
0b00000000, // None = display all options on SIMU
|
||||
#endif
|
||||
0b11100010, // XJT
|
||||
0b11100010, // ISRM
|
||||
0b11111010, // ISRM-PRO
|
||||
0b11101010, // ISRM-S
|
||||
0b11100011, // XJT
|
||||
0b11100011, // ISRM
|
||||
0b11111011, // ISRM-PRO
|
||||
0b11101011, // ISRM-S
|
||||
0b11100100, // R9M
|
||||
0b11100100, // R9MLite
|
||||
0b11111100, // R9MLite-PRO
|
||||
0b11101000, // ISRM-N
|
||||
0b11101001, // ISRM-N
|
||||
};
|
||||
|
||||
inline bool isModuleOptionAvailable(uint8_t modelId, uint8_t option)
|
||||
|
||||
@@ -180,7 +180,7 @@ void Pxx2Pulses::setupModuleSettingsFrame(uint8_t module)
|
||||
flag0 |= PXX2_TX_SETTINGS_FLAG0_WRITE;
|
||||
Pxx2Transport::addByte(flag0);
|
||||
if (destination->state == PXX2_SETTINGS_WRITE) {
|
||||
uint8_t flag1 = destination->rfProtocol << 4;
|
||||
uint8_t flag1 = destination->rfProtocol << 6;
|
||||
if (destination->externalAntenna)
|
||||
flag1 |= PXX2_TX_SETTINGS_FLAG1_EXTERNAL_ANTENNA;
|
||||
Pxx2Transport::addByte(flag1);
|
||||
|
||||
Reference in New Issue
Block a user