0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-18 22:29:50 +03:00

panadapter update

This commit is contained in:
OneOfEleven
2023-11-20 11:11:58 +00:00
parent 9a5393cb34
commit bf816f2afc
4 changed files with 76 additions and 44 deletions

View File

@ -39,6 +39,9 @@
#include "freq_ignore.h"
#endif
#include "misc.h"
#ifdef ENABLE_PANADAPTER
#include "panadapter.h"
#endif
#include "radio.h"
#include "settings.h"
#include "ui/inputbox.h"
@ -1106,6 +1109,10 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t directio
}
#endif
#ifdef ENABLE_PANADAPTER
g_panadapter_vfo_mode = 20; // 200ms
#endif
BK4819_set_rf_frequency(freq, true); // set the VCO/PLL
BK4819_set_rf_filter_path(freq); // set the proper LNA/PA filter path