mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-05-03 16:51:25 +03:00
README.md
This commit is contained in:
parent
89d313c7aa
commit
494faf5cee
34
README.md
34
README.md
@ -11,22 +11,24 @@ Am amazing achievement if you ask me !
|
|||||||
This version you can customize at compile time by making various changes to the makefile.
|
This version you can customize at compile time by making various changes to the makefile.
|
||||||
You can edit those changes by (currently) editing the MakeFile, look for these lines at the top of the file ..
|
You can edit those changes by (currently) editing the MakeFile, look for these lines at the top of the file ..
|
||||||
|
|
||||||
* ENABLE_AIRCOPY := 0
|
```
|
||||||
* ENABLE_FMRADIO := 0 FM band 2 RX
|
ENABLE_AIRCOPY := 0 easier to just type frequency in
|
||||||
* ENABLE_OVERLAY := 1
|
ENABLE_FMRADIO := 0 FM band 2 RX
|
||||||
* ENABLE_UART := 1 without this you ENABLE_TAIL_CTCSS_PHASE_SHIFTcan't configure the radio with your PC
|
ENABLE_OVERLAY := 1
|
||||||
* ENABLE_NOAA := 0 NOAA channels
|
ENABLE_UART := 1 without this you can't configure the radio with your PC
|
||||||
* ENABLE_VOICE := 0 strange voices
|
ENABLE_NOAA := 0 NOAA channels
|
||||||
* ENABLE_ALARM := 0 TX alarms
|
ENABLE_VOICE := 0 strange voices
|
||||||
* ENABLE_BIG_FREQ := 0 big font for the frequencies
|
ENABLE_ALARM := 0 TX alarms
|
||||||
* ENABLE_KEEP_MEM_NAME := 1 maintain the channel name when (re)saving a memory channel
|
ENABLE_BIG_FREQ := 0 big font for the frequencies
|
||||||
* ENABLE_CHAN_NAME_FREQ := 1 show the channel frequency below the channel name/number
|
ENABLE_KEEP_MEM_NAME := 1 maintain the channel name when (re)saving a memory channel
|
||||||
* ENABLE_WIDE_RX := 1 enable the RX in the full 18MHz to 1300MHz (though frontend is not tuned for full range)
|
ENABLE_CHAN_NAME_FREQ := 1 show the channel frequency below the channel name/number
|
||||||
* ENABLE_TX_WHEN_AM := 0 allow TX when RX set to AM
|
ENABLE_WIDE_RX := 1 enable the RX in the full 18MHz to 1300MHz (though frontend is not tuned for full range)
|
||||||
* ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1 use CTCSS tail phase shift rather than QS's 55Hz tone method
|
ENABLE_TX_WHEN_AM := 0 allow TX when RX set to AM
|
||||||
* ENABLE_MAIN_KEY_HOLD := 1 keys 0-9 can be held down to bypass having to press the F-key
|
ENABLE_CTCSS_TAIL_PHASE_SHIFT := 1 use CTCSS tail phase shift rather than QS's 55Hz tone method
|
||||||
* #ENABLE_SINGLE_VFO_CHAN := 1 not yet implemented
|
ENABLE_MAIN_KEY_HOLD := 1 keys 0-9 can be held down to bypass having to press the F-key
|
||||||
* #ENABLE_BAND_SCOPE := 1 not yet implemented
|
#ENABLE_SINGLE_VFO_CHAN := 1 not yet implemented
|
||||||
|
#ENABLE_BAND_SCOPE := 1 not yet implemented
|
||||||
|
```
|
||||||
|
|
||||||
To enable the custom option, set the above option to '1'
|
To enable the custom option, set the above option to '1'
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
|||||||
{
|
{
|
||||||
if (gScreenToDisplay == DISPLAY_MAIN)
|
if (gScreenToDisplay == DISPLAY_MAIN)
|
||||||
{ // we're going to go straight to the 0-9 key function
|
{ // we're going to go straight to the 0-9 key function
|
||||||
// without the F-key first being pressed
|
// without the need of the F-key
|
||||||
if (gInputBoxIndex > 0)
|
if (gInputBoxIndex > 0)
|
||||||
{ // delete any inputted chars
|
{ // delete any inputted chars
|
||||||
gInputBoxIndex = 0;
|
gInputBoxIndex = 0;
|
||||||
@ -251,11 +251,18 @@ static void MAIN_Key_DIGITS(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENABLE_MAIN_KEY_HOLD
|
||||||
if (bKeyPressed)
|
if (bKeyPressed)
|
||||||
{ // key is pressed
|
{ // key is pressed
|
||||||
gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL; // beep when key is pressed
|
gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL; // beep when key is pressed
|
||||||
return; // don't use the key till it's released
|
return; // don't use the key till it's released
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (!bKeyPressed)
|
||||||
|
return;
|
||||||
|
|
||||||
|
gBeepToPlay = BEEP_1KHZ_60MS_OPTIONAL;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!gWasFKeyPressed)
|
if (!gWasFKeyPressed)
|
||||||
{ // F-key wasn't pressed
|
{ // F-key wasn't pressed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user