Skip to content

Commit bd79884

Browse files
authored
Update cores/esp32/HWCDC.cpp
1 parent 5f6373c commit bd79884

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cores/esp32/HWCDC.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,9 @@ void HWCDC::begin(unsigned long baud)
261261
goto err;
262262
}
263263
}
264-
if(!perimanSetPinBus(pin, ESP32_BUS_TYPE_USB_DP, (void *) this, -1, -1)) goto err;
264+
if(!perimanSetPinBus(pin, ESP32_BUS_TYPE_USB_DP, (void *) this, -1, -1)){
265+
goto err;
266+
}
265267
return;
266268

267269
err:

0 commit comments

Comments
 (0)