mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-18 23:03:15 +00:00
AFHDS2A: working version
- Wait for transmit completion before switching to RX (no more fixed delays...) - Verify if data has been received before processing it (better handling of telemetry) - Added TX_RSSI (along with the existing RX_RSSI) Known issue: RX_RSSI value needs to be looked at. I'm seeing only values between 157 (bad) and 196 (good). Is this normal for this protocol?
This commit is contained in:
@@ -29,8 +29,8 @@ void A7105_WriteData(uint8_t len, uint8_t channel)
|
||||
A7105_CSN_on;
|
||||
if(protocol!=MODE_FLYSKY)
|
||||
{
|
||||
A7105_Strobe(A7105_STANDBY);
|
||||
A7105_SetTxRxMode(TX_EN);
|
||||
A7105_Strobe(A7105_STANDBY); //Force standby mode, ie cancel any TX or RX...
|
||||
A7105_SetTxRxMode(TX_EN); //Switch to PA
|
||||
}
|
||||
A7105_WriteReg(A7105_0F_PLL_I, channel);
|
||||
A7105_Strobe(A7105_TX);
|
||||
|
||||
Reference in New Issue
Block a user