Testing changes: declared unsigned integer and commented out unused variable
This commit is contained in:
parent
407a76269f
commit
d4f07e0912
|
@ -61,7 +61,7 @@ static struct usb_hid_out_report_s *usb_hid_out_report =
|
||||||
(struct usb_hid_out_report_s *) (&usb_hid_out_report_buf[1]);
|
(struct usb_hid_out_report_s *) (&usb_hid_out_report_buf[1]);
|
||||||
|
|
||||||
static int usb_hid_fd;
|
static int usb_hid_fd;
|
||||||
static uint8_t wkup_pb_old_value = 0;
|
//static uint8_t wkup_pb_old_value = 0;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
read_in_report ()
|
read_in_report ()
|
||||||
|
@ -141,7 +141,7 @@ usb_hid_init (const char *dev_name)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf ("Report Descriptor:\n");
|
printf ("Report Descriptor:\n");
|
||||||
for (i = 0; i < rpt_desc.size; i++)
|
for (i = 0; i < (unsigned)rpt_desc.size; i++)
|
||||||
printf ("%02hhx ", rpt_desc.value[i]);
|
printf ("%02hhx ", rpt_desc.value[i]);
|
||||||
puts ("\n");
|
puts ("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue