summaryrefslogtreecommitdiff
path: root/components/drivers/ipc/dataqueue.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-07-28 18:26:51 -0400
committerMeco Man <[email protected]>2023-07-28 22:17:40 -0400
commitbfe9fd3c1381fe3f6a1a176af8413a6bea405cc8 (patch)
treed43505436208a35681188e91e48fe93d766c42a2 /components/drivers/ipc/dataqueue.c
parent32e50cd68b3e5f79a72ce6f515277c1ea02067cf (diff)
[drivers/ipc] fix the recursive including if legacy enabled
Diffstat (limited to 'components/drivers/ipc/dataqueue.c')
-rw-r--r--components/drivers/ipc/dataqueue.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/drivers/ipc/dataqueue.c b/components/drivers/ipc/dataqueue.c
index ca0426b798..36c381d136 100644
--- a/components/drivers/ipc/dataqueue.c
+++ b/components/drivers/ipc/dataqueue.c
@@ -9,9 +9,8 @@
* 2016-10-31 armink fix some resume push and pop thread bugs
*/
-#include <rtthread.h>
-#include <rtdevice.h>
#include <rthw.h>
+#include <rtdevice.h>
#define DATAQUEUE_MAGIC 0xbead0e0e