summaryrefslogtreecommitdiff
path: root/libusb
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-02 15:47:47 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-02 15:47:47 -0600
commit48ec9be1eba930b06050262a1a651d794c31bc11 (patch)
tree8ac174746a71efe3c0babe82cd410a6f49b3a59b /libusb
parent45b0b2d85fbc284453056c0768c7646df1de9b52 (diff)
trim trailing ws
Diffstat (limited to 'libusb')
-rwxr-xr-xlibusb/include/libusb/tusb_helpers.h.gen2
-rw-r--r--libusb/usb_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/include/libusb/tusb_helpers.h.gen b/libusb/include/libusb/tusb_helpers.h.gen
index b46f5f6..364430e 100755
--- a/libusb/include/libusb/tusb_helpers.h.gen
+++ b/libusb/include/libusb/tusb_helpers.h.gen
@@ -71,7 +71,7 @@ if [[ ! -f 3rd-party/MS-LCID.txt || 3rd-party/MS-LCID.txt -ot 3rd-party/MS-LCID.
fi
<3rd-party/MS-LCID.txt \
grep -E '^\s*0x[0-9A-F]{4}\s+[a-z]' | sed 's/,.*//' | grep -v reserved | # find the lines we're interested in
- sed -E 's/^\s*0x(..)(..)\s+(\S.*)/\2 \1 \3/p' | tr '[:lower:]-' '[:upper:]_' | # format them as 'PRIhex SUBhex UPPER_STR'
+ sed -E 's/^\s*0x(..)(..)\s+(\S.*)/\2 \1 \3/p' | tr '[:lower:]-' '[:upper:]_' | # format them as 'PRIhex SUBhex UPPER_STR'
sort |
sed -E 's/(..) (..) (.*)/#define LANGID_\3 0x\2\1/' | # format them as '#define LANGID_UPPER_STR 0xSUBPRI'
column --table --output-separator=' '
diff --git a/libusb/usb_common.c b/libusb/usb_common.c
index 7effcec..b938247 100644
--- a/libusb/usb_common.c
+++ b/libusb/usb_common.c
@@ -80,7 +80,7 @@ void usb_common_earlyinit(void) {
TUSB_DESC_CONFIG_ATT_REMOTE_WAKEUP, /* bmAttributes ; Bitmap of flags (self-powered and remote-wakeup are the only flags defined in USB 2.0) */
100); /* bMaxPower (in mA) ; Maximum power consumption of the device when in this configuration */
}
-
+
void usb_common_lateinit(void) {
board_init();
tud_init(BOARD_TUD_RHPORT);