File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ struct State {
3939 uint8_t address;
4040};
4141
42- TU_STATIC State state = {false , 0 , 0 };
42+ static _fuzz_thread State state = {false , 0 , 0 };
4343
4444// --------------------------------------------------------------------+
4545// Controller API
Original file line number Diff line number Diff line change 4444// Invoked when received GET DEVICE DESCRIPTOR
4545// Application return pointer to descriptor
4646uint8_t const *tud_descriptor_device_cb (void ) {
47- TU_STATIC tusb_desc_device_t const desc_device = {
47+ static _fuzz_thread tusb_desc_device_t const desc_device = {
4848 .bLength = sizeof (tusb_desc_device_t ),
4949 .bDescriptorType = TUSB_DESC_DEVICE,
5050 .bcdUSB = USB_BCD,
@@ -184,7 +184,7 @@ char const *string_desc_arr[] = {
184184
185185};
186186
187- TU_STATIC uint16_t _desc_str[32 ];
187+ static _fuzz_thread uint16_t _desc_str[32 ];
188188
189189// Invoked when received GET STRING DESCRIPTOR request
190190// Application return pointer to descriptor, whose contents must exist long
Original file line number Diff line number Diff line change 4545// Invoked when received GET DEVICE DESCRIPTOR
4646// Application return pointer to descriptor
4747uint8_t const *tud_descriptor_device_cb (void ) {
48- TU_STATIC tusb_desc_device_t const desc_device = {
48+ static _fuzz_thread tusb_desc_device_t const desc_device = {
4949 .bLength = sizeof (tusb_desc_device_t ),
5050 .bDescriptorType = TUSB_DESC_DEVICE,
5151 .bcdUSB = USB_BCD,
@@ -189,7 +189,7 @@ char const *string_desc_arr[] = {
189189 " TinyUSB CDC" , // 4: CDC Interface
190190};
191191
192- TU_STATIC uint16_t _desc_str[32 ];
192+ static _fuzz_thread uint16_t _desc_str[32 ];
193193
194194// Invoked when received GET STRING DESCRIPTOR request
195195// Application return pointer to descriptor, whose contents must exist long
You can’t perform that action at this time.
0 commit comments