[gnoduino: 119/237] in bootloader reduced delay between receiving stk500 'Q' and jumping to application



commit 10dc64d488f23700995eee3c8a7cba8f8022435a
Author: Zach Eveland <zeveland blacklabel-development com>
Date:   Thu Sep 8 20:38:23 2011 -0400

    in bootloader reduced delay between receiving stk500 'Q' and jumping to application

 arduino/bootloaders/diskloader/DiskLoader.hex     |    4 ++--
 arduino/bootloaders/diskloader/src/DiskLoader.cpp |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/arduino/bootloaders/diskloader/DiskLoader.hex b/arduino/bootloaders/diskloader/DiskLoader.hex
index 66acc6f..3a7ab54 100644
--- a/arduino/bootloaders/diskloader/DiskLoader.hex
+++ b/arduino/bootloaders/diskloader/DiskLoader.hex
@@ -28,8 +28,8 @@
 :1079B000209A6E9A90E8909361001092610081E89D
 :1079C00085BF95BF9FD084E18093880180E180933B
 :1079D0008901E0E0F0E0859194918F5F9F4F19F06D
-:1079E00081E080938F01EE24FF24BB24B39428EE22
-:1079F000C22E23E0D22E03D2082F8EE098E7FC019E
+:1079E00081E080938F01EE24FF24BB24B39424EF25
+:1079F000C22E21E0D22E03D2082F8EE098E7FC01A0
 :107A00002491319602964491201711F02223B9F760
 :107A1000109291011092900182E068E071E08BD0A9
 :107A2000013479F4609108016058633028F06831BE
diff --git a/arduino/bootloaders/diskloader/src/DiskLoader.cpp b/arduino/bootloaders/diskloader/src/DiskLoader.cpp
index 8634602..f854fd1 100644
--- a/arduino/bootloaders/diskloader/src/DiskLoader.cpp
+++ b/arduino/bootloaders/diskloader/src/DiskLoader.cpp
@@ -211,7 +211,7 @@ int main()
 			if (cmd == 'Q')
 				break;
 		}
-		_timeout = 1000;		// wait a moment before exiting the bootloader - may need to finish responding to 'Q' for example
+		_timeout = 500;		// wait a moment before exiting the bootloader - may need to finish responding to 'Q' for example
 		_ejected = 1;
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]