diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-09-07 17:47:17 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-09-07 17:47:17 -0400 |
commit | 3c66dc1b8d1de4b93fce7f447901559591976a26 (patch) | |
tree | 826ea2d283aee95a3a54b01fd0b2888e9b050b7e /cores/arduino/main.cpp | |
parent | 560a510f6434efdfa0ebcfa9cd01093714e37f43 (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/main.cpp')
-rwxr-xr-x | cores/arduino/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp index 1c2ea9a..632a4d9 100755 --- a/cores/arduino/main.cpp +++ b/cores/arduino/main.cpp @@ -9,7 +9,7 @@ int main(void) for (;;) { loop(); - serialEventRun(); + if (serialEventRun) serialEventRun(); } return 0; |