diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2012-03-14 17:07:14 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2012-03-14 17:07:14 -0400 |
commit | cd0db83a6646717ee7fcbb5b4383bc8eac988d69 (patch) | |
tree | ad245fdb2964f1f5abcf00fb5ca183ebcbba75fb /bootloaders/caterina/Caterina.c | |
parent | 75da79ad7602d1a73e46155a5630f41d91f9bd83 (diff) |
changed Caterina timeout after self-programming to 500 ms (from 250 ms)
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)
Diffstat (limited to 'bootloaders/caterina/Caterina.c')
-rwxr-xr-x | bootloaders/caterina/Caterina.c | 2 |
1 files changed, 1 insertions, 1 deletions
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');
|