Testing changes: declared unsigned integer and commented out unused variable

This commit is contained in:
zykrahgaming 2021-12-30 11:03:45 +11:00
parent 407a76269f
commit d4f07e0912
1 changed files with 2 additions and 2 deletions

View File

@ -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]);
static int usb_hid_fd;
static uint8_t wkup_pb_old_value = 0;
//static uint8_t wkup_pb_old_value = 0;
static void
read_in_report ()
@ -141,7 +141,7 @@ usb_hid_init (const char *dev_name)
else
{
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]);
puts ("\n");
}