ACCST protocol support added

This commit is contained in:
Bertrand Songis
2019-05-17 19:31:53 +02:00
parent 0f192fde24
commit 260bceb85d
21 changed files with 32 additions and 118 deletions
+1 -1
View File
@@ -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);