Skip to content

Commit 5e71e70

Browse files
author
Kevin Moloney
committed
Fix Klocwork#100: Infinite loop.
* Added comment to verify requirement for infinite loop. Signed-off-by: Kevin Moloney <[email protected]>
1 parent db2995a commit 5e71e70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ int main( void )
4242

4343
setup();
4444

45-
for (;;)
45+
for (;;) /* This infinite loop is intentional and requested by design */
4646
{
4747
loop();
4848
if (serialEventRun) serialEventRun();

0 commit comments

Comments
 (0)