From cd0db83a6646717ee7fcbb5b4383bc8eac988d69 Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Wed, 14 Mar 2012 17:07:14 -0400 Subject: changed Caterina timeout after self-programming to 500 ms (from 250 ms) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit attempt to fix bug reported by Dave Mellis: "avrdude: ser_close(): can’t reset attributes for device: Invalid argument" is thrown after attempting an upload in the IDE (though the upload seems to be successful) --- bootloaders/caterina/Caterina.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootloaders/caterina/Caterina.c') diff --git a/bootloaders/caterina/Caterina.c b/bootloaders/caterina/Caterina.c index 2b50636..0565b22 100755 --- a/bootloaders/caterina/Caterina.c +++ b/bootloaders/caterina/Caterina.c @@ -482,7 +482,7 @@ void CDC_Task(void) * leaving just a few hundred milliseconds so the * bootloder has time to respond and service any * subsequent requests */ - Timeout = TIMEOUT_PERIOD - 250; + Timeout = TIMEOUT_PERIOD - 500; // Send confirmation byte back to the host WriteNextResponseByte('\r'); -- cgit v1.2.3-18-g5258