Skip to content

Commit 154821a

Browse files
authored
Merge pull request hathach#1646 from battlesnake/feedback-prototype-fix
audio_device: prototype added for function referenced before use
2 parents a95fb36 + 6c3c2df commit 154821a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/class/audio/audio_device.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,10 @@ static inline uint8_t tu_desc_subtype(void const* desc)
447447
}
448448
#endif
449449

450+
#if CFG_TUD_AUDIO_ENABLE_EP_OUT && CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP
451+
static bool set_fb_params_freq(audiod_function_t* audio, uint32_t sample_freq, uint32_t mclk_freq);
452+
#endif
453+
450454
bool tud_audio_n_mounted(uint8_t func_id)
451455
{
452456
TU_VERIFY(func_id < CFG_TUD_AUDIO);

0 commit comments

Comments
 (0)