diff options
| author | Meco Man <[email protected]> | 2021-11-30 18:03:48 -0500 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-12-01 00:29:02 -0500 |
| commit | 43ebe094e34449221e9716e3168f08764b6f7fd6 (patch) | |
| tree | 08eb5f4c6b296dccf504fbf2efec132cde4bc3bf /components/drivers/src | |
| parent | b61cc91d14a392de17fa1c5250a842b02b6b7e2c (diff) | |
[pipe] 补充注释
Diffstat (limited to 'components/drivers/src')
| -rw-r--r-- | components/drivers/src/pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/src/pipe.c b/components/drivers/src/pipe.c index 1d803e9a4c..89b544bc4e 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; } |
