Fixed parameter documentation mismatch

main
Sam Lantinga 2023-05-24 15:52:55 -07:00
parent 22f22472a0
commit 92b3969ea3
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ static void rd_append_byte(unsigned char byte, struct rd_buffer* rpt_desc) {
*
* @param[in] rd_item Enumeration identifying type (Main, Global, Local) and function (e.g Usage or Report Count) of the item.
* @param[in] data Data (Size depends on rd_item 0,1,2 or 4bytes).
* @param list Chained list of report descriptor bytes.
* @param rpt_desc Pointer to report descriptor buffer struct.
*
* @return Returns 0 if successful, -1 for error.
*/

View File

@ -46,7 +46,7 @@ extern "C" {
@ingroup API
@param dev A device handle returned from hid_open().
@param guid The device's container ID on return.
@param container_id The device's container ID on return.
@returns
This function returns 0 on success and -1 on error.