Skip to content

Commit 48d698b

Browse files
committed
restored missing Serial condition
1 parent 82d099f commit 48d698b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wled00/wled_serial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void sendBytes(){
6969

7070
void handleSerial()
7171
{
72-
if (serialCanRX == false) {
72+
if (serialCanRX == false && Serial) {
7373
return;
7474
}; // arduino docs: `if (Serial)` indicates whether or not the USB CDC serial connection is open. For all non-USB CDC ports, this will always return true
7575

0 commit comments

Comments
 (0)