kopia lustrzana https://github.com/OpenRTX/OpenRTX
Fixed missing removal of PA drive voltage before turning on RX LNAs in GDx radio driver
rodzic
20930cdc18
commit
061c90cfb4
|
@ -18,11 +18,10 @@
|
|||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||
***************************************************************************/
|
||||
|
||||
#include "AT1846S.h"
|
||||
#include "interfaces.h"
|
||||
#include <calibInfo_GDx.h>
|
||||
#include <interfaces/delays.h>
|
||||
#include <stdio.h>
|
||||
#include <calibInfo_GDx.h>
|
||||
#include "interfaces.h"
|
||||
#include "AT1846S.h"
|
||||
|
||||
void _maskSetRegister(uint8_t reg, uint16_t mask, uint16_t value)
|
||||
{
|
||||
|
|
|
@ -160,6 +160,8 @@ void radio_enableRx()
|
|||
gpio_clearPin(UHF_LNA_EN);
|
||||
gpio_clearPin(VHF_PA_EN);
|
||||
gpio_clearPin(UHF_PA_EN);
|
||||
DAC0->DAT[0].DATH = 0;
|
||||
DAC0->DAT[0].DATL = 0;
|
||||
|
||||
if(currRxBand < 0) return;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue