Skip to content

Commit 54d376d

Browse files
committed
Send Antenna mode change immediately as well
1 parent 020aa6f commit 54d376d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/tx-crsf/TXModuleParameters.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,8 @@ void TXModuleEndpoint::SetAntennaMode(uint8_t idx)
689689
// Force Gemini when using dual band modes.
690690
uint8_t newAntennaMode = get_elrs_airRateConfig(config.GetRate())->radio_type == RADIO_TYPE_LR1121_LORA_DUAL ? TX_RADIO_MODE_GEMINI : idx;
691691
config.SetAntennaMode(newAntennaMode);
692+
// Update antenna mode immediately, rather than wait the agonizing 5 seconds for the next sync
693+
SetSyncSpam();
692694
}
693695

694696
void TXModuleEndpoint::SetTlmRatio(uint8_t idx)

0 commit comments

Comments
 (0)