From 2b63296c16739cb720f3c6990b5516ca43ed9851 Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Sun, 5 Jan 2014 13:04:08 +0100 Subject: firmware: cleaning up --- firmware/main.c | 81 ++++++--------------------------------------------------- 1 file changed, 8 insertions(+), 73 deletions(-) diff --git a/firmware/main.c b/firmware/main.c index a09bb4c..d3b1ce4 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -273,33 +273,6 @@ static inline void leaveBootloader(void) { for (;;); // Make sure function does not return to help compiler optimize } - -static void wait_usb_interrupt( void ) -{ - // Clear any stale pending interrupt, then wait for interrupt flag - USB_INTR_PENDING = 1<