aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/main.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-09-08 20:26:47 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-09-08 20:26:47 -0400
commitc0ad36ad4341b90a0bd3acde1e50ce85dfd2f4a8 (patch)
treece305833da2f7cac516d33bcb6bd7cebeb2d0adb /cores/arduino/main.cpp
parente52cf0e4203bd6dda76c2544b0479548f465a0c7 (diff)
parent8b13206e655cd9c1123d842cab1fdd0afd6edc8b (diff)
Merge branch 'new-extension' of https://github.com/arduino/Arduino into new-extension
Conflicts: build/linux/dist/tools/avrdude.conf
Diffstat (limited to 'cores/arduino/main.cpp')
-rwxr-xr-xcores/arduino/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp
index 097f5ed..0ef5256 100755
--- a/cores/arduino/main.cpp
+++ b/cores/arduino/main.cpp
@@ -13,7 +13,7 @@ int main(void)
for (;;) {
loop();
- serialEventRun();
+ if (serialEventRun) serialEventRun();
}
return 0;