0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00

AM RX mode could possible not be being set - maybe fixed

This commit is contained in:
OneOfEleven
2023-10-03 16:09:25 +01:00
parent 84e174544d
commit f8aaf47374
14 changed files with 133 additions and 61 deletions

View File

@ -626,7 +626,7 @@ void RADIO_SetupRegisters(bool bSwitchToFunction0)
#endif
{
if (gRxVfo->AM_mode == 0)
{
{ // FM
uint8_t CodeType = gSelectedCodeType;
uint8_t Code = gSelectedCode;
if (gCssScanMode == CSS_SCAN_MODE_OFF)
@ -939,8 +939,8 @@ void RADIO_PrepareTX(void)
}
else
#endif
if (!gSetting_TX_EN)
{ // TX is disabled
if (!gSetting_TX_EN || gSerialConfigCountDown_500ms > 0)
{ // TX is disabled or config upload/download in progress
State = VFO_STATE_TX_DISABLE;
}
else