Skip to content

Commit

Permalink
Merge pull request #15 from bloguetronica/v1.2.2a
Browse files Browse the repository at this point in the history
Add files via upload
  • Loading branch information
samuelfmlourenco authored Sep 1, 2024
2 parents 9c0a64e + 476f3ce commit 3850268
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions libusb-extra.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Extra functions for libusb - Version 1.0.3
Copyright (c) 2018-2021 Samuel Lourenço
/* Extra functions for libusb - Version 1.0.4
Copyright (c) 2018-2024 Samuel Lourenço
This library is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
Expand All @@ -23,7 +23,7 @@
#include "libusb-extra.h"

// Opens the device with matching VID, PID and serial number
libusb_device_handle *libusb_open_device_with_vid_pid_serial(libusb_context *context, uint16_t vid, uint16_t pid, unsigned char *serial)
libusb_device_handle *libusb_open_device_with_vid_pid_serial(libusb_context *context, uint16_t vid, uint16_t pid, const unsigned char *serial)
{
libusb_device **devs;
libusb_device_handle *devhandle = NULL;
Expand Down
6 changes: 3 additions & 3 deletions libusb-extra.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Extra functions for libusb - Version 1.0.3
Copyright (c) 2018-2021 Samuel Lourenço
/* Extra functions for libusb - Version 1.0.4
Copyright (c) 2018-2024 Samuel Lourenço
This library is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
Expand All @@ -25,6 +25,6 @@
#include <libusb-1.0/libusb.h>

// Function prototypes
libusb_device_handle *libusb_open_device_with_vid_pid_serial(libusb_context *context, uint16_t vid, uint16_t pid, unsigned char *serial);
libusb_device_handle *libusb_open_device_with_vid_pid_serial(libusb_context *context, uint16_t vid, uint16_t pid, const unsigned char *serial);

#endif

0 comments on commit 3850268

Please sign in to comment.