From 1d92e483b6267902ff213c6618ca2ab8b9c76cd1 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 14 Jul 2018 14:06:44 +0200 Subject: bluefnorf: Handle interrupt-based USB comm properly Use the USB LP ISR instead of polling using a timer. --- bluefnorf/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bluefnorf/main.c b/bluefnorf/main.c index 7e790a6..540b41b 100644 --- a/bluefnorf/main.c +++ b/bluefnorf/main.c @@ -37,3 +37,7 @@ int main(void) i++; } } + +void hard_fault_handler(void) { + while (23); +} -- cgit