Make AUDIO_PlayVoice static as it is only used inside of its module

This commit is contained in:
Juan Antonio
2023-12-14 01:35:19 +01:00
committed by egzumer
parent 93b97eff0a
commit 33e4e3c4e0
2 changed files with 1 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ volatile bool gFlagPlayQueuedVoice;
VOICE_ID_t gAnotherVoiceID = VOICE_ID_INVALID; VOICE_ID_t gAnotherVoiceID = VOICE_ID_INVALID;
void AUDIO_PlayVoice(uint8_t VoiceID) static void AUDIO_PlayVoice(uint8_t VoiceID)
{ {
unsigned int i; unsigned int i;

View File

@@ -149,7 +149,6 @@ static inline void AUDIO_AudioPathOff(void) {
extern volatile bool gFlagPlayQueuedVoice; extern volatile bool gFlagPlayQueuedVoice;
extern VOICE_ID_t gAnotherVoiceID; extern VOICE_ID_t gAnotherVoiceID;
void AUDIO_PlayVoice(uint8_t VoiceID);
void AUDIO_PlaySingleVoice(bool bFlag); void AUDIO_PlaySingleVoice(bool bFlag);
void AUDIO_SetVoiceID(uint8_t Index, VOICE_ID_t VoiceID); void AUDIO_SetVoiceID(uint8_t Index, VOICE_ID_t VoiceID);
uint8_t AUDIO_SetDigitVoice(uint8_t Index, uint16_t Value); uint8_t AUDIO_SetDigitVoice(uint8_t Index, uint16_t Value);
@@ -157,4 +156,3 @@ static inline void AUDIO_AudioPathOff(void) {
#endif #endif
#endif #endif