Merge pull request #1867 from silvergasp/thread_local_globals

fix: Change all static variables to thread when fuzzing
This commit is contained in:
Ha Thach
2023-02-22 12:54:32 +07:00
committed by GitHub
19 changed files with 67 additions and 57 deletions

View File

@@ -76,7 +76,7 @@ typedef struct
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+
CFG_TUSB_MEM_SECTION static cdcd_interface_t _cdcd_itf[CFG_TUD_CDC];
CFG_TUSB_MEM_SECTION static _fuzz_thread cdcd_interface_t _cdcd_itf[CFG_TUD_CDC];
static bool _prep_out_transaction (cdcd_interface_t* p_cdc)
{