We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93b50db commit b87f493Copy full SHA for b87f493
components/drivers/audio/audio.c
@@ -33,7 +33,7 @@ static rt_err_t _audio_send_replay_frame(struct rt_audio_device *audio)
33
rt_err_t result = RT_EOK;
34
rt_uint8_t *data;
35
rt_size_t dst_size, src_size;
36
- rt_uint16_t position, remain_bytes, index = 0;
+ rt_uint16_t position, remain_bytes = 0, index = 0;
37
struct rt_audio_buf_info *buf_info;
38
39
RT_ASSERT(audio != RT_NULL);
0 commit comments