Skip to content

Commit

Permalink
Merge pull request #1646 from battlesnake/feedback-prototype-fix
Browse files Browse the repository at this point in the history
audio_device: prototype added for function referenced before use
  • Loading branch information
hathach authored Oct 14, 2022
2 parents a95fb36 + 6c3c2df commit 154821a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/class/audio/audio_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,10 @@ static inline uint8_t tu_desc_subtype(void const* desc)
}
#endif

#if CFG_TUD_AUDIO_ENABLE_EP_OUT && CFG_TUD_AUDIO_ENABLE_FEEDBACK_EP
static bool set_fb_params_freq(audiod_function_t* audio, uint32_t sample_freq, uint32_t mclk_freq);
#endif

bool tud_audio_n_mounted(uint8_t func_id)
{
TU_VERIFY(func_id < CFG_TUD_AUDIO);
Expand Down

0 comments on commit 154821a

Please sign in to comment.