Skip to content

Commit d22aadb

Browse files
committed
clang again
1 parent 8a77886 commit d22aadb

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/Adafruit_USBD_HID.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,15 @@ bool Adafruit_USBD_HID::sendReport(uint8_t report_id, void const *report,
117117
return tud_hid_report(report_id, report, len);
118118
}
119119

120-
bool Adafruit_USBD_HID::sendReport8 (uint8_t report_id, uint8_t num)
121-
{
120+
bool Adafruit_USBD_HID::sendReport8(uint8_t report_id, uint8_t num) {
122121
return tud_hid_report(report_id, &num, sizeof(num));
123122
}
124123

125-
bool Adafruit_USBD_HID::sendReport16(uint8_t report_id, uint16_t num)
126-
{
124+
bool Adafruit_USBD_HID::sendReport16(uint8_t report_id, uint16_t num) {
127125
return tud_hid_report(report_id, &num, sizeof(num));
128126
}
129127

130-
bool Adafruit_USBD_HID::sendReport32(uint8_t report_id, uint32_t num)
131-
{
128+
bool Adafruit_USBD_HID::sendReport32(uint8_t report_id, uint32_t num) {
132129
return tud_hid_report(report_id, &num, sizeof(num));
133130
}
134131

src/Adafruit_USBD_HID.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Adafruit_USBD_HID : Adafruit_USBD_Interface {
5252
bool sendReport(uint8_t report_id, void const *report, uint8_t len);
5353

5454
// Report helpers
55-
bool sendReport8 (uint8_t report_id, uint8_t num);
55+
bool sendReport8(uint8_t report_id, uint8_t num);
5656
bool sendReport16(uint8_t report_id, uint16_t num);
5757
bool sendReport32(uint8_t report_id, uint32_t num);
5858

0 commit comments

Comments
 (0)