Skip to content

Commit bcf5e5f

Browse files
committed
missing some files
1 parent 03ec494 commit bcf5e5f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/fuzz/dcd_fuzz.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

test/fuzz/device/msc/src/usb_descriptors.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
// Invoked when received GET DEVICE DESCRIPTOR
4545
// Application return pointer to descriptor
4646
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 = {
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

test/fuzz/device/net/src/usb_descriptors.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
// Invoked when received GET DEVICE DESCRIPTOR
4646
// Application return pointer to descriptor
4747
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 = {
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

0 commit comments

Comments
 (0)