diff options
| author | Mark K Cowan <[email protected]> | 2022-09-17 21:27:04 +0300 |
|---|---|---|
| committer | Mark K Cowan <[email protected]> | 2022-09-17 21:27:04 +0300 |
| commit | 6c3c2df82343e1947a7be3c5f0e72a116c1b634e (patch) | |
| tree | 3fe74c2ea5d02c749466ce1426e3ea4a835ae7cc /src | |
| parent | 111515a29cce668ea435904a397a1f0117114122 (diff) | |
audio_device: prototype added for function referenced before use
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/audio/audio_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c index a021755ba..a65d605b7 100644 --- a/src/class/audio/audio_device.c +++ b/src/class/audio/audio_device.c @@ -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); |
