mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-14 19:53:14 +00:00
Added: Bayang telemetry
Changed telemetry configuration and validation for AFHDS2A and HUBSAN Added default Bayang telemetry from Silverxxx: - Option=1 to activate telemetry (option=0 -> standard Bayang protocol) - Value returned to the TX: RX RSSI, TX RSSI, A1=uncompensated battery voltage, A2=compensated battery voltage
This commit is contained in:
@@ -86,8 +86,8 @@ void CC2500_SetTxRxMode(uint8_t mode)
|
||||
{
|
||||
if(mode == TX_EN)
|
||||
{//from deviation firmware
|
||||
CC2500_WriteReg(CC2500_02_IOCFG0, 0x2F | 0x40);
|
||||
CC2500_WriteReg(CC2500_00_IOCFG2, 0x2F);
|
||||
CC2500_WriteReg(CC2500_02_IOCFG0, 0x2F | 0x40);
|
||||
}
|
||||
else
|
||||
if (mode == RX_EN)
|
||||
|
||||
Reference in New Issue
Block a user