From 0b49fe4e1bbb1f873242b2a75491b65ee22c4a49 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Mon, 22 Sep 2025 23:52:47 +0200 Subject: [PATCH] Fix build for non-pico boards. Signed-off-by: Pol Henarejos --- src/usb/usb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/usb/usb.c b/src/usb/usb.c index 1a5a520..3b29fcb 100644 --- a/src/usb/usb.c +++ b/src/usb/usb.c @@ -42,6 +42,9 @@ static void (*card_locked_func)(void) = NULL; static mutex_t mutex; extern void usb_desc_setup(); #endif +#if !defined(PICO_PLATFORM) && !defined(ENABLE_EMULATION) +pthread_t hcore0, hcore1; +#endif #ifdef USB_ITF_HID uint8_t ITF_HID_CTAP = ITF_INVALID, ITF_HID_KB = ITF_INVALID;