Revert uneccessary changes to RP2040 files

This commit is contained in:
zykrahgaming 2022-01-02 14:31:42 +11:00
parent cd182816e7
commit 38c01bd2b8
2 changed files with 3 additions and 3 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 < (unsigned)rpt_desc.size; i++)
for (i = 0; i < rpt_desc.size; i++)
printf ("%02hhx ", rpt_desc.value[i]);
puts ("\n");
}

View File

@ -89,7 +89,7 @@ PROJECT = ch
MCU = cortex-m0plus
# Imported source files and paths.
CHIBIOS := ../../../../../ChibiOS-pico
CHIBIOS := ../../../../../ChibiOS
CONFDIR := ./cfg
BUILDDIR := ./build
DEPDIR := ./.dep