aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2016-04-07 14:51:50 -0400
committerPaul Selkirk <paul@psgd.org>2016-04-07 14:51:50 -0400
commitd5669dac8c7ab2fbf6bd3c7faed7ce050c94ee1a (patch)
tree91269c6631f89871e0884a6a622d7ae061a08fe7
parent076b211d5e5d0f2b6366597aaade223fac78d346 (diff)
Don't return from main() - it triggers a hard fault.
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index dc72898..2776750 100644
--- a/main.c
+++ b/main.c
@@ -57,5 +57,5 @@ int main(void)
__main();
uart_send_string("Done.\r\n\r\n");
- return 0;
+ while(1);
}