aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.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/HardwareSerial.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/HardwareSerial.cpp')
-rw-r--r--cores/arduino/HardwareSerial.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp
index a31b266..613f252 100644
--- a/cores/arduino/HardwareSerial.cpp
+++ b/cores/arduino/HardwareSerial.cpp
@@ -167,11 +167,6 @@ inline void store_char(unsigned char c, ring_buffer *buffer)
#error SIG_USART3_RECV
#endif
-<<<<<<< HEAD
-#if !defined(USART0_UDRE_vect) && defined(USART1_UDRE_vect)
-// do nothing - on the 32u4 the first USART is USART1
-#else
-=======
void serialEventRun(void)
{
unsigned char flag, oldSREG;
@@ -210,7 +205,9 @@ void serialEventRun(void)
}
->>>>>>> 0c92f230b5202b241de875a3baff9dfd1cf7a618
+#if !defined(USART0_UDRE_vect) && defined(USART1_UDRE_vect)
+// do nothing - on the 32u4 the first USART is USART1
+#else
#if !defined(UART0_UDRE_vect) && !defined(UART_UDRE_vect) && !defined(USART0_UDRE_vect) && !defined(USART_UDRE_vect)
#error Don't know what the Data Register Empty vector is called for the first UART
#else