From 61e90842dedf3d3c10433ee7835b920771a29566 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Fri, 17 Feb 2023 14:01:33 +0100 Subject: [PATCH] Fix no-USB build of the stock firwmare --- firmware/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/main.c b/firmware/main.c index c6ffc51..4b6a9cc 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -1897,6 +1897,12 @@ static void usb_init(void) P0_EIE2 |= BIT(2); } +#else + +void usb_interrupt(void) __interrupt(IRQ_USB) __using(1) +{ +} + #endif static void usb_disable(void)