mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-29 06:41:25 +03:00
RX fixed bandwidth adjustments + squelch sensitivity adjustments
This commit is contained in:
parent
b343993a72
commit
9b2ce88a72
10
README.md
10
README.md
@ -61,13 +61,13 @@ ENABLE_COPY_CHAN_TO_VFO := 1 copy current channel into the other VFO
|
|||||||
|
|
||||||
# New/modified function keys
|
# New/modified function keys
|
||||||
|
|
||||||
* Long-press 'M' = Copy selected channel into same VFO, then switch VFO to frequency mode
|
* Long-press 'M' .. Copy selected channel into same VFO, then switch VFO to frequency mode
|
||||||
*
|
*
|
||||||
* Long-press '7' = Toggle selected channel scanlist setting .. if VOX is disable in Makefile
|
* Long-press '7' .. Toggle selected channel scanlist setting .. if VOX is disabled in Makefile
|
||||||
or
|
* or
|
||||||
* Long-press '5' = Toggle selected channel scanlist setting .. if NOAA is disable in Makefile
|
* Long-press '5' .. Toggle selected channel scanlist setting .. if NOAA is disabled in Makefile
|
||||||
*
|
*
|
||||||
* Long-press '*' = Start scanning, then toggle scanlist scan 1, 2 or ALL channels (if in channel scan mode)
|
* Long-press '*' .. Start scanning, then toggles scanlist scan 1, 2 or ALL channel scanning
|
||||||
|
|
||||||
# Some changes made from the Quansheng firmware
|
# Some changes made from the Quansheng firmware
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ static void APP_CheckForIncoming(void)
|
|||||||
gUpdateStatus = true;
|
gUpdateStatus = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{ // RF scanning
|
||||||
if (gRxReceptionMode != RX_MODE_NONE)
|
if (gRxReceptionMode != RX_MODE_NONE)
|
||||||
{
|
{
|
||||||
if (gCurrentFunction != FUNCTION_INCOMING)
|
if (gCurrentFunction != FUNCTION_INCOMING)
|
||||||
@ -163,7 +163,6 @@ static void APP_CheckForIncoming(void)
|
|||||||
updateRSSI(gEeprom.RX_VFO);
|
updateRSSI(gEeprom.RX_VFO);
|
||||||
gUpdateRSSI = true;
|
gUpdateRSSI = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1068,7 +1067,8 @@ void APP_Update(void)
|
|||||||
#else
|
#else
|
||||||
if (gScreenToDisplay != DISPLAY_SCANNER && gScanState != SCAN_OFF && gScheduleScanListen && !gPttIsPressed)
|
if (gScreenToDisplay != DISPLAY_SCANNER && gScanState != SCAN_OFF && gScheduleScanListen && !gPttIsPressed)
|
||||||
#endif
|
#endif
|
||||||
{
|
{ // scanning
|
||||||
|
|
||||||
if (IS_FREQ_CHANNEL(gNextMrChannel))
|
if (IS_FREQ_CHANNEL(gNextMrChannel))
|
||||||
{
|
{
|
||||||
if (gCurrentFunction == FUNCTION_INCOMING)
|
if (gCurrentFunction == FUNCTION_INCOMING)
|
||||||
|
18
app/main.c
18
app/main.c
@ -549,15 +549,23 @@ static void MAIN_Key_MENU(const bool bKeyPressed, const bool bKeyHeld)
|
|||||||
|
|
||||||
#ifdef ENABLE_COPY_CHAN_TO_VFO
|
#ifdef ENABLE_COPY_CHAN_TO_VFO
|
||||||
|
|
||||||
if (gEeprom.VFO_OPEN &&
|
if (gEeprom.VFO_OPEN && gCssScanMode == CSS_SCAN_MODE_OFF)
|
||||||
gScanState == SCAN_OFF &&
|
{
|
||||||
gCssScanMode == CSS_SCAN_MODE_OFF)
|
|
||||||
{ // copy channel to VFO
|
if (gScanState != SCAN_OFF)
|
||||||
|
{
|
||||||
|
if (gCurrentFunction != FUNCTION_INCOMING ||
|
||||||
|
gRxReceptionMode == RX_MODE_NONE ||
|
||||||
|
ScanPauseDelayIn_10ms == 0)
|
||||||
|
{ // scan is running (not paused)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const unsigned int vfo = get_rx_VFO();
|
const unsigned int vfo = get_rx_VFO();
|
||||||
|
|
||||||
if (IS_MR_CHANNEL(gEeprom.ScreenChannel[vfo]))
|
if (IS_MR_CHANNEL(gEeprom.ScreenChannel[vfo]))
|
||||||
{ // swap to the VFO
|
{ // copy channel to VFO, then swap to the VFO
|
||||||
|
|
||||||
const unsigned int channel = FREQ_CHANNEL_FIRST + gEeprom.VfoInfo[vfo].Band;
|
const unsigned int channel = FREQ_CHANNEL_FIRST + gEeprom.VfoInfo[vfo].Band;
|
||||||
|
|
||||||
|
962
driver/bk4819.c
962
driver/bk4819.c
File diff suppressed because it is too large
Load Diff
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user