mirror of
https://github.com/egzumer/uv-k5-firmware-custom
synced 2024-11-21 09:10:27 +00:00
Make AUDIO_PlayVoice static as it is only used inside of its module
This commit is contained in:
parent
93b97eff0a
commit
33e4e3c4e0
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user