1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-17 18:50:33 -04:00
ports/devel/arduino/files/patch-hardware-arduino-cores-arduino-HardwareSerial.cpp
Pawel Pekala 86191d95ce - Update to version 1.0.3
- Add optional patches for ATmega644p support

PR:		ports/174783
Submitted by:	Craig Leres <leres@ee.lbl.gov> (maintainer)
2013-01-02 21:56:04 +00:00

29 lines
769 B
C++

--- hardware/arduino/cores/arduino/HardwareSerial.cpp.orig 2012-07-28 21:20:49.000000000 -0700
+++ hardware/arduino/cores/arduino/HardwareSerial.cpp 2012-07-28 21:24:52.000000000 -0700
@@ -129,8 +129,6 @@
unsigned char c = UDR1;
store_char(c, &rx_buffer1);
}
-#elif defined(SIG_USART1_RECV)
- #error SIG_USART1_RECV
#endif
#if defined(USART2_RX_vect) && defined(UDR2)
@@ -142,8 +140,6 @@
unsigned char c = UDR2;
store_char(c, &rx_buffer2);
}
-#elif defined(SIG_USART2_RECV)
- #error SIG_USART2_RECV
#endif
#if defined(USART3_RX_vect) && defined(UDR3)
@@ -155,8 +151,6 @@
unsigned char c = UDR3;
store_char(c, &rx_buffer3);
}
-#elif defined(SIG_USART3_RECV)
- #error SIG_USART3_RECV
#endif
void serialEventRun(void)