forked from mirror/uv-k5-firmware
Converted magic numbers.
This commit is contained in:
parent
ab8c439742
commit
f9eaadd974
@ -39,7 +39,7 @@ void FUNCTION_Init(void)
|
||||
gCopyOfCodeType = gCodeType;
|
||||
if (g_20000381 == 0) {
|
||||
if (gInfoCHAN_A->_0x0033 == true) {
|
||||
gCopyOfCodeType = 0;
|
||||
gCopyOfCodeType = CODE_TYPE_OFF;
|
||||
} else {
|
||||
gCopyOfCodeType = gInfoCHAN_A->pDCS_Current->CodeType;
|
||||
}
|
||||
|
4
radio.c
4
radio.c
@ -629,8 +629,8 @@ void RADIO_PrepareTransmit(void)
|
||||
BK4819_SetupPowerAmplifier(gCrossTxRadioInfo->TXP_CalculatedSetting, gCrossTxRadioInfo->pDCS_Reverse->Frequency);
|
||||
SYSTEM_DelayMs(10);
|
||||
|
||||
if (gCrossTxRadioInfo->pDCS_Reverse->CodeType != 1) {
|
||||
if ((gCrossTxRadioInfo->pDCS_Reverse->CodeType != 2) && (gCrossTxRadioInfo->pDCS_Reverse->CodeType != 3)) {
|
||||
if (gCrossTxRadioInfo->pDCS_Reverse->CodeType != CODE_TYPE_CONTINUOUS_TONE) {
|
||||
if ((gCrossTxRadioInfo->pDCS_Reverse->CodeType != CODE_TYPE_DIGITAL) && (gCrossTxRadioInfo->pDCS_Reverse->CodeType != CODE_TYPE_REVERSE_DIGITAL)) {
|
||||
BK4819_ExitSubAu();
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user