mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 14:48:03 +03:00
First test
This commit is contained in:
4
radio.c
4
radio.c
@ -443,6 +443,7 @@ void RADIO_ConfigureSquelchAndOutputPower(VFO_Info_t *pInfo)
|
||||
pInfo->SquelchOpenRSSIThresh = 0x00;
|
||||
pInfo->SquelchOpenNoiseThresh = 0x7F;
|
||||
pInfo->SquelchCloseGlitchThresh = 0xFF;
|
||||
|
||||
pInfo->SquelchCloseRSSIThresh = 0x00;
|
||||
pInfo->SquelchCloseNoiseThresh = 0x7F;
|
||||
pInfo->SquelchOpenGlitchThresh = 0xFF;
|
||||
@ -450,10 +451,13 @@ void RADIO_ConfigureSquelchAndOutputPower(VFO_Info_t *pInfo)
|
||||
else
|
||||
{
|
||||
Base += gEeprom.SQUELCH_LEVEL;
|
||||
|
||||
EEPROM_ReadBuffer(Base + 0x00, &pInfo->SquelchOpenRSSIThresh, 1);
|
||||
EEPROM_ReadBuffer(Base + 0x10, &pInfo->SquelchCloseRSSIThresh, 1);
|
||||
|
||||
EEPROM_ReadBuffer(Base + 0x20, &pInfo->SquelchOpenNoiseThresh, 1);
|
||||
EEPROM_ReadBuffer(Base + 0x30, &pInfo->SquelchCloseNoiseThresh, 1);
|
||||
|
||||
EEPROM_ReadBuffer(Base + 0x40, &pInfo->SquelchCloseGlitchThresh, 1);
|
||||
EEPROM_ReadBuffer(Base + 0x50, &pInfo->SquelchOpenGlitchThresh, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user