Skip to content

Commit 4dce046

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 43f1a80 commit 4dce046

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

cores/esp32/esp32-hal-tinyusb.c

+7-8
Original file line numberDiff line numberDiff line change
@@ -287,15 +287,14 @@ enum {
287287
VENDOR_REQUEST_MICROSOFT = 2
288288
};
289289

290-
static uint8_t const tinyusb_bos_descriptor[] = {
291-
// total length, number of device caps
292-
TUD_BOS_DESCRIPTOR(BOS_TOTAL_LEN, 2),
290+
static uint8_t const tinyusb_bos_descriptor[] = {// total length, number of device caps
291+
TUD_BOS_DESCRIPTOR(BOS_TOTAL_LEN, 2),
293292

294-
// Vendor Code, iLandingPage
295-
TUD_BOS_WEBUSB_DESCRIPTOR(VENDOR_REQUEST_WEBUSB, 1),
293+
// Vendor Code, iLandingPage
294+
TUD_BOS_WEBUSB_DESCRIPTOR(VENDOR_REQUEST_WEBUSB, 1),
296295

297-
// Microsoft OS 2.0 descriptor
298-
TUD_BOS_MS_OS_20_DESCRIPTOR(MS_OS_20_DESC_LEN, VENDOR_REQUEST_MICROSOFT)
296+
// Microsoft OS 2.0 descriptor
297+
TUD_BOS_MS_OS_20_DESCRIPTOR(MS_OS_20_DESC_LEN, VENDOR_REQUEST_MICROSOFT)
299298
};
300299

301300
/*
@@ -831,7 +830,7 @@ esp_err_t tinyusb_init(tinyusb_device_config_t *config) {
831830
periph_ll_enable_clk_clear_rst(PERIPH_USB_MODULE);
832831
}
833832
#endif
834-
833+
835834
tinyusb_config_t tusb_cfg = {
836835
.external_phy = false // In the most cases you need to use a `false` value
837836
};

0 commit comments

Comments
 (0)