# HG changeset patch
# User darius@Inchoate
# Date 1225258875 -37800
# Node ID 98b5a43fc748a009fbdd9783bb546b86c7e4e99b
# Parent  3217e93b28a3519fabc5946291c1e4d9013730be
Disable WDT in reset just in case we take too long (eg after reset when the
timer is set to a short time)

diff -r 3217e93b28a3 -r 98b5a43fc748 testavr.c
--- a/testavr.c	Wed Oct 29 16:10:20 2008 +1030
+++ b/testavr.c	Wed Oct 29 16:11:15 2008 +1030
@@ -57,6 +57,7 @@
     __attribute__((section(".init3")))
     __attribute__((naked));
 void handle_mcucsr(void) {
+    wdt_disable();
     mcucsr = MCUCSR;
     MCUCSR = 0;
 }