Skip to content

Commit f155d21

Browse files
committed
clang format
1 parent ae9efff commit f155d21

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/Adafruit_USBD_HID.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,14 @@ uint16_t Adafruit_USBD_HID::getDescriptor(uint8_t itfnum, uint8_t *buf,
7676
return 0;
7777

7878
// usb core will automatically update endpoint number
79-
uint8_t const desc_inout[] = { TUD_HID_INOUT_DESCRIPTOR(itfnum, 0, _protocol, _desc_report_len, EPIN, EPOUT, CFG_TUD_HID_BUFSIZE, _interval_ms)};
80-
uint8_t const desc_in_only[] = { TUD_HID_DESCRIPTOR(itfnum, 0, _protocol, _desc_report_len, EPIN, CFG_TUD_HID_BUFSIZE, _interval_ms) };
81-
82-
uint8_t const* desc;
79+
uint8_t const desc_inout[] = {
80+
TUD_HID_INOUT_DESCRIPTOR(itfnum, 0, _protocol, _desc_report_len, EPIN,
81+
EPOUT, CFG_TUD_HID_BUFSIZE, _interval_ms)};
82+
uint8_t const desc_in_only[] = {
83+
TUD_HID_DESCRIPTOR(itfnum, 0, _protocol, _desc_report_len, EPIN,
84+
CFG_TUD_HID_BUFSIZE, _interval_ms)};
85+
86+
uint8_t const *desc;
8387
uint16_t len;
8488

8589
if (_out_endpoint) {

0 commit comments

Comments
 (0)