Renamed a definition.

This commit is contained in:
Dual Tachyon 2023-09-02 23:13:18 +01:00
parent 6d575836d5
commit fa7b16c9bb
4 changed files with 4 additions and 4 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -746,7 +746,7 @@ void RADIO_SomethingWithTransmit(void)
Skip:
if (gDTMF_ReplyState == DTMF_REPLY_ANI) {
if (gDTMF_CallMode == DTMF_CALL_MODE_2) {
if (gDTMF_CallMode == DTMF_CALL_MODE_DTMF) {
g_200003BD = 1;
gDTMF_CallState = DTMF_CALL_STATE_NONE;
g_200003C3 = 6;