From 43ebe094e34449221e9716e3168f08764b6f7fd6 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Tue, 30 Nov 2021 18:03:48 -0500 Subject: [PATCH] =?UTF-8?q?[pipe]=20=E8=A1=A5=E5=85=85=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/src/pipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drivers/src/pipe.c b/components/drivers/src/pipe.c index 1d803e9a4..89b544bc4 100644 --- a/components/drivers/src/pipe.c +++ b/components/drivers/src/pipe.c @@ -439,7 +439,7 @@ const static struct rt_device_ops pipe_ops = rt_pipe_write, rt_pipe_control, }; -#endif +#endif /* RT_USING_DEVICE_OPS */ rt_pipe_t *rt_pipe_create(const char *name, int bufsz) { @@ -481,7 +481,7 @@ rt_pipe_t *rt_pipe_create(const char *name, int bufsz) } #ifdef RT_USING_POSIX_DEVIO dev->fops = (void*)&pipe_fops; -#endif +#endif /* RT_USING_POSIX_DEVIO */ return pipe; } -- GitLab