diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2011-08-31 15:52:56 -0400 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2011-08-31 15:52:56 -0400 |
commit | 7b0d88b954d7e62495cdf03d732f2d5f90ab5bec (patch) | |
tree | 072de8889750209b5e78c3944f65b5c09f1c3950 /cores/arduino/main.cpp | |
parent | 84a0ad9fd3be4e90d3dbd730246dc30851012a09 (diff) |
Moving serialEvent() calls from RX interrupts to main for() loop (after loop()).
http://code.google.com/p/arduino/issues/detail?id=584
Diffstat (limited to 'cores/arduino/main.cpp')
-rwxr-xr-x | cores/arduino/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp index 3c46f1e..1c2ea9a 100755 --- a/cores/arduino/main.cpp +++ b/cores/arduino/main.cpp @@ -7,8 +7,10 @@ int main(void) setup(); - for (;;) + for (;;) { loop(); + serialEventRun(); + } return 0; } |