Make AUDIO_PlayVoice static as it is only used inside of its module
This commit is contained in:
2
audio.c
2
audio.c
@@ -205,7 +205,7 @@ volatile bool gFlagPlayQueuedVoice;
|
||||
VOICE_ID_t gAnotherVoiceID = VOICE_ID_INVALID;
|
||||
|
||||
|
||||
void AUDIO_PlayVoice(uint8_t VoiceID)
|
||||
static void AUDIO_PlayVoice(uint8_t VoiceID)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
|
2
audio.h
2
audio.h
@@ -149,7 +149,6 @@ static inline void AUDIO_AudioPathOff(void) {
|
||||
extern volatile bool gFlagPlayQueuedVoice;
|
||||
extern VOICE_ID_t gAnotherVoiceID;
|
||||
|
||||
void AUDIO_PlayVoice(uint8_t VoiceID);
|
||||
void AUDIO_PlaySingleVoice(bool bFlag);
|
||||
void AUDIO_SetVoiceID(uint8_t Index, VOICE_ID_t VoiceID);
|
||||
uint8_t AUDIO_SetDigitVoice(uint8_t Index, uint16_t Value);
|
||||
@@ -157,4 +156,3 @@ static inline void AUDIO_AudioPathOff(void) {
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user