aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/ring_buffer.h
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-04-12 00:08:54 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-04-12 00:08:54 -0400
commit7b14b950363f707c40732b4387f2f50711907673 (patch)
tree3833be4ef90981e72c9b4bf1bb848fc12b3bf783 /libmaple/ring_buffer.h
parentd3949203fe053249d35e0c4125f3ed21818e8c32 (diff)
downloadlibrambutan-7b14b950363f707c40732b4387f2f50711907673.tar.gz
librambutan-7b14b950363f707c40732b4387f2f50711907673.zip
Doxygen bugfixes.
Fixed various Doxygen comment errors.
Diffstat (limited to 'libmaple/ring_buffer.h')
-rw-r--r--libmaple/ring_buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/ring_buffer.h b/libmaple/ring_buffer.h
index 101f010..ad6ad96 100644
--- a/libmaple/ring_buffer.h
+++ b/libmaple/ring_buffer.h
@@ -89,7 +89,7 @@ static inline uint16 rb_full_count(ring_buffer *rb) {
/**
* @brief Returns true if and only if the ring buffer is full.
- * @brief rb Buffer to test.
+ * @param rb Buffer to test.
*/
static inline int rb_is_full(ring_buffer *rb) {
return (rb->tail + 1 == rb->head) ||
@@ -139,8 +139,8 @@ static inline int16 rb_safe_remove(ring_buffer *rb) {
/**
* @brief Attempt to insert an element into a ring buffer.
*
- * @brief rb Buffer to insert into.
- * @brief element Value to insert into rb.
+ * @param rb Buffer to insert into.
+ * @param element Value to insert into rb.
* @sideeffect If rb is not full, appends element onto buffer.
* @return If element was appended, then true; otherwise, false. */
static inline int rb_safe_insert(ring_buffer *rb, uint8 element) {