mirror of
https://github.com/DualTachyon/uv-k5-firmware.git
synced 2024-12-09 09:30:36 +08:00
Renamed a definition.
This commit is contained in:
parent
6d575836d5
commit
fa7b16c9bb
@ -284,7 +284,7 @@ void DTMF_Reply(void)
|
||||
|
||||
switch (gDTMF_ReplyState) {
|
||||
case DTMF_REPLY_ANI:
|
||||
if (gDTMF_CallMode == DTMF_CALL_MODE_2) {
|
||||
if (gDTMF_CallMode == DTMF_CALL_MODE_DTMF) {
|
||||
pString = gDTMF_String;
|
||||
} else {
|
||||
sprintf(String, "%s%c%s", gDTMF_String, gEeprom.DTMF_SEPARATE_CODE, gEeprom.ANI_DTMF_ID);
|
||||
|
@ -48,7 +48,7 @@ typedef enum DTMF_ReplyState_t DTMF_ReplyState_t;
|
||||
enum DTMF_CallMode_t {
|
||||
DTMF_CALL_MODE_NOT_GROUP = 0U,
|
||||
DTMF_CALL_MODE_GROUP = 1U,
|
||||
DTMF_CALL_MODE_2 = 2U,
|
||||
DTMF_CALL_MODE_DTMF = 2U,
|
||||
};
|
||||
|
||||
typedef enum DTMF_CallMode_t DTMF_CallMode_t;
|
||||
|
@ -137,7 +137,7 @@ void GENERIC_Key_PTT(bool bKeyPressed)
|
||||
if (gDTMF_InputIndex == 3) {
|
||||
gDTMF_CallMode = DTMF_IsGroupCall(gDTMF_InputBox, 3);
|
||||
} else {
|
||||
gDTMF_CallMode = DTMF_CALL_MODE_2;
|
||||
gDTMF_CallMode = DTMF_CALL_MODE_DTMF;
|
||||
}
|
||||
sprintf(gDTMF_String, "%s", gDTMF_InputBox);
|
||||
g_200003C0 = gDTMF_InputIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user