mirror of
https://github.com/kamilsss655/uv-k5-firmware-custom
synced 2024-11-22 02:08:48 +00:00
Even easier to change 'S0' base dBm level on the s-meter.
This commit is contained in:
parent
9493f34c23
commit
1eac6018ba
@ -2,9 +2,10 @@
|
||||
|
||||
This repository is a cloned and customized version of DualTachyon's open firmware found here ..
|
||||
|
||||
https://github.com/DualTachyon/uv-k5-firmware
|
||||
https://github.com/DualTachyon/uv-k5-firmware .. a cool achievement !
|
||||
|
||||
A cool achievement
|
||||
Use this firmware at your own risk (entirely). There is absolutely no guarantee that it will work in any way shape or form on your radio(s), it may even brick your radio(s), in which case, you'd need to buy another radio.
|
||||
Anyway, have fun.
|
||||
|
||||
# Radio performance
|
||||
|
||||
|
@ -402,12 +402,14 @@ void DTMF_Reply(void)
|
||||
return;
|
||||
|
||||
Delay = gEeprom.DTMF_PRELOAD_TIME;
|
||||
|
||||
if (gEeprom.DTMF_SIDE_TONE)
|
||||
{
|
||||
{ // the will also hear the transmitted tones
|
||||
GPIO_SetBit(&GPIOC->DATA, GPIOC_PIN_AUDIO_PATH);
|
||||
gEnableSpeaker = true;
|
||||
Delay = (gEeprom.DTMF_PRELOAD_TIME < 60) ? 60 : gEeprom.DTMF_PRELOAD_TIME;
|
||||
}
|
||||
|
||||
SYSTEM_DelayMs(Delay);
|
||||
|
||||
BK4819_EnterDTMF_TX(gEeprom.DTMF_SIDE_TONE);
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
@ -119,9 +119,9 @@ bool center_line_is_free = true;
|
||||
#if defined(ENABLE_RSSI_BAR)
|
||||
void UI_DisplayRSSIBar(const int16_t rssi, const bool now)
|
||||
{
|
||||
const int16_t s9_dBm = -73; // S9
|
||||
const int16_t s0_dBm = -127; // S0
|
||||
const int16_t s0_dBm = -127; // S0 .. base level
|
||||
|
||||
const int16_t s9_dBm = s0_dBm + (6 * 9); // S9 .. 6dB/S-Point
|
||||
const int16_t bar_max_dBm = s9_dBm + 30; // S9+30dB
|
||||
const int16_t bar_min_dBm = s0_dBm; // S0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user