Skip to content

Commit a41d602

Browse files
committed
Fix for issue chipKIT32#345 : serialEventRun compiler warning in main.cpp
1 parent 120ec63 commit a41d602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pic32/cores/pic32/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ int main(void)
6161
{
6262
_scheduleTask();
6363
loop();
64-
if (serialEventRun) serialEventRun();
64+
if (serialEventRun != NULL) serialEventRun();
6565
}
6666
return 0;
6767
}

0 commit comments

Comments
 (0)