diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-06-17 06:46:46 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-17 18:46:46 +0800 |
| commit | fb941e6d8d79164185f97a40e68dd73ac2a9fdda (patch) | |
| tree | 415c2fc90b0bea935d1daee782cda4a90ce2bb3a /components/drivers/ipc | |
| parent | 70bd55fea5ab07ee08a1ecc3165365c90266b5f8 (diff) | |
[fingbuffer] fix a typo (#6075)
Diffstat (limited to 'components/drivers/ipc')
| -rw-r--r-- | components/drivers/ipc/ringbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/ipc/ringbuffer.c b/components/drivers/ipc/ringbuffer.c index 7a0a98e37b..56bb53ac49 100644 --- a/components/drivers/ipc/ringbuffer.c +++ b/components/drivers/ipc/ringbuffer.c @@ -229,7 +229,7 @@ RTM_EXPORT(rt_ringbuffer_get); * * @return Return the size of the ring buffer. */ -rt_size_t rt_ringbuffer_peak(struct rt_ringbuffer *rb, rt_uint8_t **ptr) +rt_size_t rt_ringbuffer_peek(struct rt_ringbuffer *rb, rt_uint8_t **ptr) { rt_size_t size; @@ -260,7 +260,7 @@ rt_size_t rt_ringbuffer_peak(struct rt_ringbuffer *rb, rt_uint8_t **ptr) return size; } -RTM_EXPORT(rt_ringbuffer_peak); +RTM_EXPORT(rt_ringbuffer_peek); /** * @brief Put a byte into the ring buffer. If ring buffer is full, this operation will fail. |
