forked from mirror/uv-k5-firmware
Fixed return type for DTMF_CheckGroupCall.
This commit is contained in:
parent
c070282b25
commit
d43bbc1745
@ -149,7 +149,7 @@ bool DTMF_CompareMessage(const char *pMsg, const char *pTemplate, uint8_t Size,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DTMF_CheckGroupCall(const char *pMsg, uint32_t Size)
|
DTMF_CallMode_t DTMF_CheckGroupCall(const char *pMsg, uint32_t Size)
|
||||||
{
|
{
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
|
|
||||||
@ -159,10 +159,10 @@ bool DTMF_CheckGroupCall(const char *pMsg, uint32_t Size)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (i != Size) {
|
if (i != Size) {
|
||||||
return true;
|
return DTMF_CALL_MODE_GROUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return DTMF_CALL_MODE_NOT_GROUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DTMF_Append(char Code)
|
void DTMF_Append(char Code)
|
||||||
|
@ -81,7 +81,7 @@ bool DTMF_GetContact(uint8_t Index, char *pContact);
|
|||||||
bool DTMF_FindContact(const char *pContact, char *pResult);
|
bool DTMF_FindContact(const char *pContact, char *pResult);
|
||||||
char DTMF_GetCharacter(uint8_t Code);
|
char DTMF_GetCharacter(uint8_t Code);
|
||||||
bool DTMF_CompareMessage(const char *pDTMF, const char *pTemplate, uint8_t Size, bool bFlag);
|
bool DTMF_CompareMessage(const char *pDTMF, const char *pTemplate, uint8_t Size, bool bFlag);
|
||||||
bool DTMF_CheckGroupCall(const char *pDTMF, uint32_t Size);
|
DTMF_CallMode_t DTMF_CheckGroupCall(const char *pDTMF, uint32_t Size);
|
||||||
void DTMF_Append(char Code);
|
void DTMF_Append(char Code);
|
||||||
void DTMF_HandleRequest(void);
|
void DTMF_HandleRequest(void);
|
||||||
void DTMF_Reply(void);
|
void DTMF_Reply(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user