summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2014-05-30 16:24:48 +0200
committerFlorian Jung <flo@windfisch.org>2014-06-19 23:51:30 +0200
commitca673b5215d2262d92770fdfa763242efaae53af (patch)
treec0ccd95f4ca44ad3738c5a349192cf4f7d0dae0a
parente1ba66189d077a649c42e3791f202f26fef6cb0e (diff)
endless loop
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3529ab2..84adfef 100644
--- a/main.c
+++ b/main.c
@@ -182,7 +182,7 @@ int main()
sei(); // Enable interrupts after re-enumeration
uint32_t j;
- for (uint32_t i = 0; i < 4000000; i++)
+ while (1)
{
wdt_reset(); // keep the watchdog happy
usbPoll();