Skip to content

Commit afc20fc

Browse files
ci(pre-commit): Apply automatic fixes
1 parent c423b21 commit afc20fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/esp32/HWCDC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,14 +324,14 @@ void HWCDC::begin(unsigned long baud) {
324324
uint8_t pin = USB_INT_PHY0_DM_GPIO_NUM;
325325
if (perimanGetBusDeinit(ESP32_BUS_TYPE_USB_DM) == NULL) {
326326
perimanSetBusDeinit(ESP32_BUS_TYPE_USB_DM, HWCDC::deinit);
327-
}
327+
}
328328
if (!perimanSetPinBus(pin, ESP32_BUS_TYPE_USB_DM, (void *)this, -1, -1)) {
329329
goto err;
330330
}
331331
pin = USB_INT_PHY0_DP_GPIO_NUM;
332332
if (perimanGetBusDeinit(ESP32_BUS_TYPE_USB_DP) == NULL) {
333333
perimanSetBusDeinit(ESP32_BUS_TYPE_USB_DP, HWCDC::deinit);
334-
}
334+
}
335335
if (!perimanSetPinBus(pin, ESP32_BUS_TYPE_USB_DP, (void *)this, -1, -1)) {
336336
goto err;
337337
}

0 commit comments

Comments
 (0)