From 1a1d03ab2feea6d3d653b5ef24997868dd043fa7 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Wed, 24 Sep 2025 01:11:19 +0200 Subject: [PATCH] Add compatibility for non-pico boards. Signed-off-by: Pol Henarejos --- src/usb/usb_descriptors.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/usb/usb_descriptors.c b/src/usb/usb_descriptors.c index 2bf969f..c921053 100644 --- a/src/usb/usb_descriptors.c +++ b/src/usb/usb_descriptors.c @@ -34,7 +34,11 @@ #define USB_PID 0xFCFD #endif +#if defined(PICO_PLATFORM) || defined(ESP_PLATFORM) #define USB_BCD 0x0200 +#else +#define USB_BCD 0x0110 +#endif #define USB_CONFIG_ATT_ONE TU_BIT(7)