summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2023-02-22 12:54:32 +0700
committerGitHub <[email protected]>2023-02-22 12:54:32 +0700
commit557bf82336311611ba3b06e57f48d03362f3d2c3 (patch)
tree97bbedf9ff81a90bd8a85ab33abcc2543bd5df33 /src/class/hid
parent334263523756bf6539546bd11915299704034a39 (diff)
parentbcf5e5f72918a7f5ee991f8d1cc3d4f9a3b2b306 (diff)
Merge pull request #1867 from silvergasp/thread_local_globals
fix: Change all static variables to thread when fuzzing
Diffstat (limited to 'src/class/hid')
-rw-r--r--src/class/hid/hid_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/hid/hid_device.c b/src/class/hid/hid_device.c
index 2d46d760f..6fae5862d 100644
--- a/src/class/hid/hid_device.c
+++ b/src/class/hid/hid_device.c
@@ -58,7 +58,7 @@ typedef struct
tusb_hid_descriptor_hid_t const * hid_descriptor;
} hidd_interface_t;
-CFG_TUSB_MEM_SECTION static hidd_interface_t _hidd_itf[CFG_TUD_HID];
+CFG_TUSB_MEM_SECTION static _fuzz_thread hidd_interface_t _hidd_itf[CFG_TUD_HID];
/*------------- Helpers -------------*/
static inline uint8_t get_index_by_itfnum(uint8_t itf_num)