mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
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.
This commit is contained in:
parent
ca4a42156c
commit
28cf63c7db
@ -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]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user