mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
panadapter update
This commit is contained in:
parent
e54650e651
commit
9b911822d1
@ -360,6 +360,14 @@ void processFKeyFunction(const key_code_t Key)
|
|||||||
|
|
||||||
case KEY_5: // NOAA
|
case KEY_5: // NOAA
|
||||||
|
|
||||||
|
#ifdef ENABLE_PANADAPTER
|
||||||
|
if (g_fkey_pressed)
|
||||||
|
{
|
||||||
|
g_eeprom.config.setting.panadapter = (g_eeprom.config.setting.panadapter + 1) & 1u;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_NOAA
|
#ifdef ENABLE_NOAA
|
||||||
|
|
||||||
APP_stop_scan();
|
APP_stop_scan();
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -135,8 +135,8 @@ void PAN_process_10ms(void)
|
|||||||
panadapter_rssi_index = 0;
|
panadapter_rssi_index = 0;
|
||||||
|
|
||||||
if (g_tx_vfo->channel.mod_mode == MOD_MODE_FM)
|
if (g_tx_vfo->channel.mod_mode == MOD_MODE_FM)
|
||||||
{ // switch back to the VFO frequency for 100ms once every 500ms
|
{ // switch back to the VFO frequency for 100ms once every 400ms
|
||||||
g_panadapter_vfo_mode = ((panadapter_rssi_index % 50) == 0) ? 10 : 0;
|
g_panadapter_vfo_mode = ((panadapter_rssi_index % 40) == 0) ? 10 : 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ // switch back to the VFO frequency for 100ms once each scan cycle
|
{ // switch back to the VFO frequency for 100ms once each scan cycle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user