diff options
| author | hathach <[email protected]> | 2023-02-22 16:23:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-02-22 16:23:40 +0700 |
| commit | 498989ee009c388a770e7a312ae04d0a51ba745a (patch) | |
| tree | 192d7e73278bef02ae7d576e8ba52fff4cdd1069 /src/class/video/video_device.c | |
| parent | 557bf82336311611ba3b06e57f48d03362f3d2c3 (diff) | |
use tu_static instead of static _fuzz_thread
Diffstat (limited to 'src/class/video/video_device.c')
| -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 ecee73d51..02a490aee 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 _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]; +CFG_TUSB_MEM_SECTION tu_static videod_interface_t _videod_itf[CFG_TUD_VIDEO]; +CFG_TUSB_MEM_SECTION tu_static videod_streaming_interface_t _videod_streaming_itf[CFG_TUD_VIDEO_STREAMING]; -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 */ +tu_static uint8_t const _cap_get = 0x1u; /* support for GET */ +tu_static uint8_t const _cap_get_set = 0x3u; /* support for GET and SET */ /** Get interface number from the interface descriptor * |
