Skip to content

Commit c21299a

Browse files
jukkarMaureenHelm
authored andcommitted
drivers: uart_mux: Fix documentation of uart_mux_recv()
The uart_mux_recv() documentation was wrong, the function parameters were incorrectly documented. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent 883e9d3 commit c21299a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/console/uart_mux_internal.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ int uart_mux_send(const struct device *uart, const uint8_t *buf, size_t size);
2626
* @brief Receive unmuxed data.
2727
*
2828
* @param mux UART mux device structure.
29-
* @param uart Real UART device structure.
30-
* @param dlci_address DLCI id for the virtual muxing channel
31-
* @param timeout Amount of time to wait for the channel creation.
29+
* @param dlci DLCI id for the muxing channel that should receive the data.
30+
* @param data Received data (already unmuxed)
31+
* @param len Length of the received data
3232
*
3333
* @retval >=0 No errors, number of bytes received
3434
* @retval <0 Error
3535
*/
3636
int uart_mux_recv(const struct device *mux, struct gsm_dlci *dlci,
37-
uint8_t *data, size_t len);
37+
uint8_t *data, size_t len);
3838

3939
#ifdef __cplusplus
4040
}

0 commit comments

Comments
 (0)