Skip to content

Commit 73fea71

Browse files
committed
Fixed parameter documentation mismatch
1 parent af4b2dc commit 73fea71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/hidapi/windows/hidapi_descriptor_reconstruct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static void rd_append_byte(unsigned char byte, struct rd_buffer* rpt_desc) {
4646
*
4747
* @param[in] rd_item Enumeration identifying type (Main, Global, Local) and function (e.g Usage or Report Count) of the item.
4848
* @param[in] data Data (Size depends on rd_item 0,1,2 or 4bytes).
49-
* @param list Chained list of report descriptor bytes.
49+
* @param rpt_desc Pointer to report descriptor buffer struct.
5050
*
5151
* @return Returns 0 if successful, -1 for error.
5252
*/

src/hidapi/windows/hidapi_winapi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ extern "C" {
4646
4747
@ingroup API
4848
@param dev A device handle returned from hid_open().
49-
@param guid The device's container ID on return.
49+
@param container_id The device's container ID on return.
5050
5151
@returns
5252
This function returns 0 on success and -1 on error.

0 commit comments

Comments
 (0)