mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-21 07:21:00 +00:00
missing some files
This commit is contained in:
parent
03ec49450d
commit
bcf5e5f729
@ -39,7 +39,7 @@ struct State {
|
||||
uint8_t address;
|
||||
};
|
||||
|
||||
TU_STATIC State state = {false, 0, 0};
|
||||
static _fuzz_thread State state = {false, 0, 0};
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
// Controller API
|
||||
|
@ -44,7 +44,7 @@
|
||||
// Invoked when received GET DEVICE DESCRIPTOR
|
||||
// Application return pointer to descriptor
|
||||
uint8_t const *tud_descriptor_device_cb(void) {
|
||||
TU_STATIC tusb_desc_device_t const desc_device = {
|
||||
static _fuzz_thread tusb_desc_device_t const desc_device = {
|
||||
.bLength = sizeof(tusb_desc_device_t),
|
||||
.bDescriptorType = TUSB_DESC_DEVICE,
|
||||
.bcdUSB = USB_BCD,
|
||||
@ -184,7 +184,7 @@ char const *string_desc_arr[] = {
|
||||
|
||||
};
|
||||
|
||||
TU_STATIC uint16_t _desc_str[32];
|
||||
static _fuzz_thread uint16_t _desc_str[32];
|
||||
|
||||
// Invoked when received GET STRING DESCRIPTOR request
|
||||
// Application return pointer to descriptor, whose contents must exist long
|
||||
|
@ -45,7 +45,7 @@
|
||||
// Invoked when received GET DEVICE DESCRIPTOR
|
||||
// Application return pointer to descriptor
|
||||
uint8_t const *tud_descriptor_device_cb(void) {
|
||||
TU_STATIC tusb_desc_device_t const desc_device = {
|
||||
static _fuzz_thread tusb_desc_device_t const desc_device = {
|
||||
.bLength = sizeof(tusb_desc_device_t),
|
||||
.bDescriptorType = TUSB_DESC_DEVICE,
|
||||
.bcdUSB = USB_BCD,
|
||||
@ -189,7 +189,7 @@ char const *string_desc_arr[] = {
|
||||
"TinyUSB CDC", // 4: CDC Interface
|
||||
};
|
||||
|
||||
TU_STATIC uint16_t _desc_str[32];
|
||||
static _fuzz_thread uint16_t _desc_str[32];
|
||||
|
||||
// Invoked when received GET STRING DESCRIPTOR request
|
||||
// Application return pointer to descriptor, whose contents must exist long
|
||||
|
Loading…
x
Reference in New Issue
Block a user