aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/HardwareSerial.h
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2011-09-07 17:47:17 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2011-09-07 17:47:17 -0400
commit3c66dc1b8d1de4b93fce7f447901559591976a26 (patch)
tree826ea2d283aee95a3a54b01fd0b2888e9b050b7e /cores/arduino/HardwareSerial.h
parent560a510f6434efdfa0ebcfa9cd01093714e37f43 (diff)
Changing to a simpler mental model for serialEvent (Paul Stoffregen).
http://code.google.com/p/arduino/issues/detail?id=626
Diffstat (limited to 'cores/arduino/HardwareSerial.h')
-rw-r--r--cores/arduino/HardwareSerial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/HardwareSerial.h b/cores/arduino/HardwareSerial.h
index cbb0e5e..1c755f7 100644
--- a/cores/arduino/HardwareSerial.h
+++ b/cores/arduino/HardwareSerial.h
@@ -74,6 +74,6 @@ class HardwareSerial : public Stream
extern HardwareSerial Serial3;
#endif
-extern void serialEventRun(void);
+extern void serialEventRun(void) __attribute__((weak));
#endif