aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/CDC.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-09-05 13:08:05 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-09-05 13:08:05 -0400
commit95fd39090e324e8f4ea683d39af829c692ecba93 (patch)
tree4ef58e5e5fb94734c877d109b6c44cad368d3373 /cores/arduino/CDC.cpp
parent280f381265f8b8e339c92cbcb95d09cec1ec2f19 (diff)
changed baudrate for auto-reset-and-upload back to 1200 bps. specified arduino protocol for Leonardo avrdude upload.
Diffstat (limited to 'cores/arduino/CDC.cpp')
-rw-r--r--cores/arduino/CDC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/CDC.cpp b/cores/arduino/CDC.cpp
index 0d04b9c..3ad3e98 100644
--- a/cores/arduino/CDC.cpp
+++ b/cores/arduino/CDC.cpp
@@ -95,7 +95,7 @@ bool WEAK CDC_Setup(Setup& setup)
if (CDC_SET_LINE_CODING == r)
{
USB_RecvControl((void*)&_usbLineInfo,7);
- if (300 == _usbLineInfo.dwDTERate) // auto-reset is triggered when avrdude opens the port at 1200 bps
+ if (1200 == _usbLineInfo.dwDTERate) // auto-reset is triggered when avrdude opens the port at 1200 bps
Reboot();
return true;