Skip to content

Commit fd5bb6e

Browse files
authored
Merge pull request hathach#1514 from maddyaby/audiod_typo
Fix typo in audiod_rx_done_cb in audio_device.c
2 parents ed2e587 + e9089b9 commit fd5bb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/class/audio/audio_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ static bool audiod_rx_done_cb(uint8_t rhport, audiod_function_t* audio, uint16_t
565565

566566
case AUDIO_FORMAT_TYPE_I:
567567

568-
switch (audio->format_type_I_tx)
568+
switch (audio->format_type_I_rx)
569569
{
570570
case AUDIO_DATA_FORMAT_TYPE_I_PCM:
571571
TU_VERIFY(audiod_decode_type_I_pcm(rhport, audio, n_bytes_received));

0 commit comments

Comments
 (0)