aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/include/hal_queues.h6
-rw-r--r--os/hal/src/mmc_spi.c7
-rw-r--r--os/hal/src/serial_usb.c4
3 files changed, 13 insertions, 4 deletions
diff --git a/os/hal/include/hal_queues.h b/os/hal/include/hal_queues.h
index b9516c984..2153aa104 100644
--- a/os/hal/include/hal_queues.h
+++ b/os/hal/include/hal_queues.h
@@ -49,7 +49,11 @@
*/
typedef struct io_queue io_queue_t;
-/** @brief Queue notification callback type.*/
+/**
+ * @brief Queue notification callback type.
+ *
+ * @param[in] qp the queue pointer.
+ */
typedef void (*qnotify_t)(io_queue_t *qp);
/**
diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c
index babbf80ad..d7ffcbab4 100644
--- a/os/hal/src/mmc_spi.c
+++ b/os/hal/src/mmc_spi.c
@@ -289,11 +289,12 @@ static uint8_t send_command_R3(MMCDriver *mmcp, uint8_t cmd, uint32_t arg,
* @brief Reads the CSD.
*
* @param[in] mmcp pointer to the @p MMCDriver object
- * @param[out] csd pointer to the CSD buffer
+ * @param[out] cmd command
+ * @param[out] cxd pointer to the CSD/CID buffer
*
* @return The operation status.
- * @retval HAL_SUCCESS the operation succeeded.
- * @retval HAL_FAILED the operation failed.
+ * @retval HAL_SUCCESS the operation succeeded.
+ * @retval HAL_FAILED the operation failed.
*
* @notapi
*/
diff --git a/os/hal/src/serial_usb.c b/os/hal/src/serial_usb.c
index ea941cbcd..09b529cae 100644
--- a/os/hal/src/serial_usb.c
+++ b/os/hal/src/serial_usb.c
@@ -107,6 +107,8 @@ static const struct SerialUSBDriverVMT vmt = {
/**
* @brief Notification of data removed from the input queue.
+ *
+ * @param[in] qp the queue pointer.
*/
static void inotify(io_queue_t *qp) {
size_t n, maxsize;
@@ -138,6 +140,8 @@ static void inotify(io_queue_t *qp) {
/**
* @brief Notification of data inserted into the output queue.
+ *
+ * @param[in] qp the queue pointer.
*/
static void onotify(io_queue_t *qp) {
size_t n;