From 3b72c2343ab160290ccf1385829b168925052b8b Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Thu, 8 Sep 2011 18:12:11 -0400 Subject: disabling watchdog in bootloader --- bootloaders/diskloader/src/DiskLoader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bootloaders/diskloader/src/DiskLoader.cpp') diff --git a/bootloaders/diskloader/src/DiskLoader.cpp b/bootloaders/diskloader/src/DiskLoader.cpp index da57e75..8634602 100644 --- a/bootloaders/diskloader/src/DiskLoader.cpp +++ b/bootloaders/diskloader/src/DiskLoader.cpp @@ -117,6 +117,7 @@ int main(void) __attribute__ ((naked)); // STK500v1 main loop, very similar to optiboot in protocol and implementation int main() { + wdt_disable(); TXLED0; RXLED0; LED0; -- cgit v1.2.3-18-g5258