diff options
| author | Ha Thach <[email protected]> | 2023-02-22 12:54:32 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-22 12:54:32 +0700 |
| commit | 557bf82336311611ba3b06e57f48d03362f3d2c3 (patch) | |
| tree | 97bbedf9ff81a90bd8a85ab33abcc2543bd5df33 /src/class/video | |
| parent | 334263523756bf6539546bd11915299704034a39 (diff) | |
| parent | bcf5e5f72918a7f5ee991f8d1cc3d4f9a3b2b306 (diff) | |
Merge pull request #1867 from silvergasp/thread_local_globals
fix: Change all static variables to thread when fuzzing
Diffstat (limited to 'src/class/video')
| -rw-r--r-- | src/class/video/video_device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/class/video/video_device.c b/src/class/video/video_device.c index 257285126..ecee73d51 100644 --- a/src/class/video/video_device.c +++ b/src/class/video/video_device.c @@ -125,11 +125,11 @@ typedef struct TU_ATTR_PACKED { //--------------------------------------------------------------------+ // INTERNAL OBJECT & FUNCTION DECLARATION //--------------------------------------------------------------------+ -CFG_TUSB_MEM_SECTION static videod_interface_t _videod_itf[CFG_TUD_VIDEO]; -CFG_TUSB_MEM_SECTION static videod_streaming_interface_t _videod_streaming_itf[CFG_TUD_VIDEO_STREAMING]; +CFG_TUSB_MEM_SECTION static _fuzz_thread videod_interface_t _videod_itf[CFG_TUD_VIDEO]; +CFG_TUSB_MEM_SECTION static _fuzz_thread videod_streaming_interface_t _videod_streaming_itf[CFG_TUD_VIDEO_STREAMING]; -static uint8_t const _cap_get = 0x1u; /* support for GET */ -static uint8_t const _cap_get_set = 0x3u; /* support for GET and SET */ +static _fuzz_thread uint8_t const _cap_get = 0x1u; /* support for GET */ +static _fuzz_thread uint8_t const _cap_get_set = 0x3u; /* support for GET and SET */ /** Get interface number from the interface descriptor * |
