mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Bugfix: Broadcast FM now enables VHF LNA
This commit is contained in:
1 parent
3dbe098ad9
commit
5a4a89ae31
1 file changed
+7
@@ -23,6 +23,7 @@
|
||||
#include "app/generic.h"
|
||||
#include "audio.h"
|
||||
#include "driver/bk1080.h"
|
||||
#include "driver/bk4819.h"
|
||||
#include "driver/py25q16.h"
|
||||
#include "driver/gpio.h"
|
||||
#include "functions.h"
|
||||
@@ -109,6 +110,10 @@ void FM_TurnOff(void)
|
||||
|
||||
BK1080_Init0();
|
||||
|
||||
// Enable relevant LNA based on VFO frequency
|
||||
BK4819_PickRXFilterPathBasedOnFrequency(gRxVfo->freq_config_RX.Frequency);
|
||||
|
||||
|
||||
gUpdateStatus = true;
|
||||
|
||||
#ifdef ENABLE_FEAT_F4HWN_RESUME_STATE
|
||||
@@ -619,6 +624,8 @@ void FM_Start(void)
|
||||
gFM_RestoreCountdown_10ms = 0;
|
||||
|
||||
BK1080_Init(gEeprom.FM_FrequencyPlaying, gEeprom.FM_Band/*, gEeprom.FM_Space*/);
|
||||
// Disable UHF LNA, enable VHF LNA
|
||||
BK4819_PickRXFilterPathBasedOnFrequency(10320000); // 103.2 MHz < 280 MHz
|
||||
|
||||
AUDIO_AudioPathOn();
|
||||
|
||||
|
||||
Reference in new issue
Block a user