summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-07-14 14:06:44 +0200
committerjaseg <git@jaseg.net>2018-07-14 14:06:44 +0200
commit1d92e483b6267902ff213c6618ca2ab8b9c76cd1 (patch)
tree94155fcdf0ccef54da6d9380bdcd8bd952ab7830
parent85c3b2d60fc7c57356d1ea1faa74d6889edc6b36 (diff)
downloadolsndot-1d92e483b6267902ff213c6618ca2ab8b9c76cd1.tar.gz
olsndot-1d92e483b6267902ff213c6618ca2ab8b9c76cd1.tar.bz2
olsndot-1d92e483b6267902ff213c6618ca2ab8b9c76cd1.zip
bluefnorf: Handle interrupt-based USB comm properly
Use the USB LP ISR instead of polling using a timer.
-rw-r--r--bluefnorf/main.c4
1 files changed, 4 insertions, 0 deletions
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);
+}