mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-01 01:57:52 +00:00
AFHDS2A: prevent TX inbound swamping during bind
This commit is contained in:
parent
943bb6d15b
commit
2ba3552578
@ -260,7 +260,7 @@ uint16_t ReadAFHDS2A()
|
|||||||
while ((uint16_t)micros()-start < 700) // Wait max 700µs, using serial+telemetry exit in about 120µs
|
while ((uint16_t)micros()-start < 700) // Wait max 700µs, using serial+telemetry exit in about 120µs
|
||||||
if(!(A7105_ReadReg(A7105_00_MODE) & 0x01))
|
if(!(A7105_ReadReg(A7105_00_MODE) & 0x01))
|
||||||
break;
|
break;
|
||||||
A7105_SetTxRxMode(RX_EN);
|
A7105_SetTxRxMode(TXRX_OFF); // Turn LNA off since we are in near range and we want to prevent swamping
|
||||||
A7105_Strobe(A7105_RX);
|
A7105_Strobe(A7105_RX);
|
||||||
phase &= ~AFHDS2A_WAIT_WRITE;
|
phase &= ~AFHDS2A_WAIT_WRITE;
|
||||||
phase++;
|
phase++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user