Skip to content

Commit ce0ad5b

Browse files
chris-durandrleh
authored andcommitted
[tinyusb] Fix crash reading device descriptor
1 parent 9602775 commit ce0ad5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/hathach/tusb_descriptors.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ string_desc_arr[] =
162162
%% endfor
163163
};
164164

165-
static uint16_t _desc_str[32];
165+
static uint16_t _desc_str[33];
166166

167167
// Invoked when received GET STRING DESCRIPTOR request
168168
// Application return pointer to descriptor, whose contents must exist long

0 commit comments

Comments
 (0)