Samples: Fix no previous prototype warnings in xusb
This commit is contained in:
parent
c9d41fe5f0
commit
56853b54d0
2 changed files with 3 additions and 3 deletions
|
@ -532,7 +532,7 @@ static int test_mass_storage(libusb_device_handle *handle, uint8_t endpoint_in,
|
||||||
}
|
}
|
||||||
|
|
||||||
// HID
|
// HID
|
||||||
int get_hid_record_size(uint8_t *hid_report_descriptor, int size, int type)
|
static int get_hid_record_size(uint8_t *hid_report_descriptor, int size, int type)
|
||||||
{
|
{
|
||||||
uint8_t i, j = 0;
|
uint8_t i, j = 0;
|
||||||
uint8_t offset;
|
uint8_t offset;
|
||||||
|
@ -586,7 +586,7 @@ int get_hid_record_size(uint8_t *hid_report_descriptor, int size, int type)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int test_hid(libusb_device_handle *handle, uint8_t endpoint_in)
|
static int test_hid(libusb_device_handle *handle, uint8_t endpoint_in)
|
||||||
{
|
{
|
||||||
int r, size, descriptor_size;
|
int r, size, descriptor_size;
|
||||||
uint8_t hid_report_descriptor[256];
|
uint8_t hid_report_descriptor[256];
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define LIBUSB_NANO 10516
|
#define LIBUSB_NANO 10517
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue