diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-10-10 11:28:44 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-10-10 11:28:44 -0400 |
commit | 77cdeb5b930c473488933e04573159bda93b9491 (patch) | |
tree | 6b5a1348f5a2a26b8affc302ab66b5ac5ac9853f /cores/arduino/HardwareSerial.cpp | |
parent | 075bb009b9bf48169921e1a43329ea49c15480bc (diff) |
Fixing more warnings (Paul Stoffregen).
Diffstat (limited to 'cores/arduino/HardwareSerial.cpp')
-rw-r--r-- | cores/arduino/HardwareSerial.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/HardwareSerial.cpp b/cores/arduino/HardwareSerial.cpp index b5992ad..1b1fa71 100644 --- a/cores/arduino/HardwareSerial.cpp +++ b/cores/arduino/HardwareSerial.cpp @@ -91,7 +91,7 @@ inline void store_char(unsigned char c, ring_buffer *buffer) #if !defined(USART_RX_vect) && !defined(SIG_USART0_RECV) && \ !defined(SIG_UART0_RECV) && !defined(USART0_RX_vect) && \ !defined(SIG_UART_RECV) - #error Don't know what the Data Received vector is called for the first UART + #error "Don't know what the Data Received vector is called for the first UART" #else void serialEvent() __attribute__((weak)); void serialEvent() {} @@ -180,7 +180,7 @@ void serialEventRun(void) // 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 + #error "Don't know what the Data Register Empty vector is called for the first UART" #else #if defined(UART0_UDRE_vect) ISR(UART0_UDRE_vect) |