Skip to content

Commit 7733931

Browse files
committed
Fix for arduino#106
Removed delay in CDC Driver to check for connected state in Serial_::operator bool()
1 parent eed66e7 commit 7733931

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: cores/arduino/USB/CDC.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ Serial_::operator bool()
311311
result = true;
312312
}
313313

314-
delay(10);
315314
return result;
316315
}
317316

0 commit comments

Comments
 (0)