diff options
| author | Jerzy Kasenberg <[email protected]> | 2020-09-11 13:24:41 +0200 |
|---|---|---|
| committer | Jerzy Kasenberg <[email protected]> | 2020-09-28 08:41:17 +0200 |
| commit | 28cf63c7dbe08677d614d16a435487ae03b3cce6 (patch) | |
| tree | a37372f531ae4ad140c14e6f20c1baf103e44081 /src/class | |
| parent | ca4a42156ceeb8dd6b70edc02b2b762645c62c66 (diff) | |
audio_device: Fix tud_audio_n_read_flush TU_VERIFY usage
void function used TU_VERIFY in a way that returned bool value.
It would not compile.
Diffstat (limited to 'src/class')
| -rw-r--r-- | src/class/audio/audio_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/audio/audio_device.c b/src/class/audio/audio_device.c index 23a2cea96..2660cf368 100644 --- a/src/class/audio/audio_device.c +++ b/src/class/audio/audio_device.c @@ -205,7 +205,7 @@ uint16_t tud_audio_n_read(uint8_t itf, uint8_t channelId, void* buffer, uint16_t void tud_audio_n_read_flush (uint8_t itf, uint8_t channelId) { - TU_VERIFY(channelId < CFG_TUD_AUDIO_N_CHANNELS_RX); + TU_VERIFY(channelId < CFG_TUD_AUDIO_N_CHANNELS_RX, ); tu_fifo_clear(&_audiod_itf[itf].rx_ff[channelId]); } |
