Skip to content

Commit db71258

Browse files
authored
[components / drivers]fixed re-include of audio
1 parent 9dc0bbb commit db71258

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/drivers/audio/audio_pipe.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
/**
1313
* Pipe Device
1414
*/
15-
#include <rtthread.h>
1615
#include <rtdevice.h>
1716

1817
#ifndef RT_PIPE_BUFSZ
@@ -71,6 +70,6 @@ rt_err_t rt_audio_pipe_detach(struct rt_audio_pipe *pipe);
7170
#ifdef RT_USING_HEAP
7271
rt_err_t rt_audio_pipe_create(const char *name, rt_int32_t flag, rt_size_t size);
7372
void rt_audio_pipe_destroy(struct rt_audio_pipe *pipe);
74-
#endif
75-
#endif
73+
#endif /* RT_USING_HEAP */
7674

75+
#endif /* __AUDIO_PIPE_H__ */

0 commit comments

Comments
 (0)