aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/hal_buffers.h4
-rw-r--r--os/hal/include/uart.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/include/hal_buffers.h b/os/hal/include/hal_buffers.h
index f992046a9..7ce499215 100644
--- a/os/hal/include/hal_buffers.h
+++ b/os/hal/include/hal_buffers.h
@@ -205,8 +205,8 @@ typedef io_buffers_queue_t output_buffers_queue_t;
*
* @iclass
*/
-#define obqIsEmptyI(oqp) ((bool)(((obqp)->bwrptr == (obqp)->brdptr) && \
- ((obqp)->bcounter != 0U)))
+#define obqIsEmptyI(obqp) ((bool)(((obqp)->bwrptr == (obqp)->brdptr) && \
+ ((obqp)->bcounter != 0U)))
/**
* @brief Evaluates to @p true if the specified output buffers queue is full.
diff --git a/os/hal/include/uart.h b/os/hal/include/uart.h
index 43afcd7d9..2942636b4 100644
--- a/os/hal/include/uart.h
+++ b/os/hal/include/uart.h
@@ -268,6 +268,7 @@ typedef enum {
* implementation only.
*
* @param[in] uartp pointer to the @p UARTDriver object
+ * @param[in] errors mask of errors to be reported
*
* @notapi
*/