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 {
39
39
uint8_t address;
40
40
};
41
41
42
- TU_STATIC State state = {false , 0 , 0 };
42
+ static _fuzz_thread State state = {false , 0 , 0 };
43
43
44
44
// --------------------------------------------------------------------+
45
45
// Controller API
Original file line number Diff line number Diff line change 44
44
// Invoked when received GET DEVICE DESCRIPTOR
45
45
// Application return pointer to descriptor
46
46
uint8_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 = {
48
48
.bLength = sizeof (tusb_desc_device_t ),
49
49
.bDescriptorType = TUSB_DESC_DEVICE,
50
50
.bcdUSB = USB_BCD,
@@ -184,7 +184,7 @@ char const *string_desc_arr[] = {
184
184
185
185
};
186
186
187
- TU_STATIC uint16_t _desc_str[32 ];
187
+ static _fuzz_thread uint16_t _desc_str[32 ];
188
188
189
189
// Invoked when received GET STRING DESCRIPTOR request
190
190
// Application return pointer to descriptor, whose contents must exist long
Original file line number Diff line number Diff line change 45
45
// Invoked when received GET DEVICE DESCRIPTOR
46
46
// Application return pointer to descriptor
47
47
uint8_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 = {
49
49
.bLength = sizeof (tusb_desc_device_t ),
50
50
.bDescriptorType = TUSB_DESC_DEVICE,
51
51
.bcdUSB = USB_BCD,
@@ -189,7 +189,7 @@ char const *string_desc_arr[] = {
189
189
" TinyUSB CDC" , // 4: CDC Interface
190
190
};
191
191
192
- TU_STATIC uint16_t _desc_str[32 ];
192
+ static _fuzz_thread uint16_t _desc_str[32 ];
193
193
194
194
// Invoked when received GET STRING DESCRIPTOR request
195
195
// Application return pointer to descriptor, whose contents must exist long
You can’t perform that action at this time.
0 commit comments