mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-31 05:52:55 +08:00
Fix typo in audiod_rx_done_cb in audio_device.c
This commit is contained in:
parent
80121303eb
commit
e9089b993f
@ -562,7 +562,7 @@ static bool audiod_rx_done_cb(uint8_t rhport, audiod_function_t* audio, uint16_t
|
||||
|
||||
case AUDIO_FORMAT_TYPE_I:
|
||||
|
||||
switch (audio->format_type_I_tx)
|
||||
switch (audio->format_type_I_rx)
|
||||
{
|
||||
case AUDIO_DATA_FORMAT_TYPE_I_PCM:
|
||||
TU_VERIFY(audiod_decode_type_I_pcm(rhport, audio, n_bytes_received));
|
||||
|
Loading…
x
Reference in New Issue
Block a user