From 38c01bd2b840cf8a003b1bf8a4f624e619d8b065 Mon Sep 17 00:00:00 2001 From: zykrahgaming Date: Sun, 2 Jan 2022 14:31:42 +1100 Subject: [PATCH] Revert uneccessary changes to RP2040 files --- testhal/RP/RP2040/RT-RP2040-PICO-HID/Client/test-usb-hid.c | 4 ++-- testhal/RP/RP2040/RT-RP2040-PICO-SERIAL/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testhal/RP/RP2040/RT-RP2040-PICO-HID/Client/test-usb-hid.c b/testhal/RP/RP2040/RT-RP2040-PICO-HID/Client/test-usb-hid.c index 84e769c7..241b129f 100644 --- a/testhal/RP/RP2040/RT-RP2040-PICO-HID/Client/test-usb-hid.c +++ b/testhal/RP/RP2040/RT-RP2040-PICO-HID/Client/test-usb-hid.c @@ -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"); } diff --git a/testhal/RP/RP2040/RT-RP2040-PICO-SERIAL/Makefile b/testhal/RP/RP2040/RT-RP2040-PICO-SERIAL/Makefile index 88c70937..7a954133 100644 --- a/testhal/RP/RP2040/RT-RP2040-PICO-SERIAL/Makefile +++ b/testhal/RP/RP2040/RT-RP2040-PICO-SERIAL/Makefile @@ -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