From 77339317b272c4cdc1766cabe37c80d2cbeb6e98 Mon Sep 17 00:00:00 2001 From: Tim Seidel Date: Wed, 10 Jun 2020 09:27:20 +0200 Subject: [PATCH] Fix for https://github.com/arduino/ArduinoCore-sam/issues/106 Removed delay in CDC Driver to check for connected state in Serial_::operator bool() --- cores/arduino/USB/CDC.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/cores/arduino/USB/CDC.cpp b/cores/arduino/USB/CDC.cpp index dea6bd2b..e76c864e 100644 --- a/cores/arduino/USB/CDC.cpp +++ b/cores/arduino/USB/CDC.cpp @@ -311,7 +311,6 @@ Serial_::operator bool() result = true; } - delay(10); return result; }