summaryrefslogtreecommitdiff
path: root/src/class/hid
diff options
context:
space:
mode:
authorNathaniel Brough <[email protected]>2023-01-20 15:40:32 -0800
committerNathaniel Brough <[email protected]>2023-01-20 15:45:31 -0800
commit18c3095346159a4f5c3db9775b4f7c6aebca77c2 (patch)
treedee8317193a04afa30d1ca63647be03553892c4c /src/class/hid
parent8775d55adc7c9b0812b7d593b24518c046dd3d82 (diff)
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 8077e4deb..c42d1b6de 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 TU_STATIC hidd_interface_t _hidd_itf[CFG_TUD_HID];
/*------------- Helpers -------------*/
static inline uint8_t get_index_by_itfnum(uint8_t itf_num)