use tu_static instead of static _fuzz_thread

This commit is contained in:
hathach
2023-02-22 16:23:40 +07:00
parent 557bf82336
commit 498989ee00
17 changed files with 56 additions and 56 deletions

View File

@@ -78,7 +78,7 @@
#ifdef xDEBUG
#include "uart_util.h"
static _fuzz_thread char logMsg[150];
tu_static char logMsg[150];
#endif
// Buffer size must be an exact multiple of the max packet size for both
@@ -143,7 +143,7 @@ typedef struct
usbtmc_capabilities_specific_t const * capabilities;
} usbtmc_interface_state_t;
CFG_TUSB_MEM_SECTION static _fuzz_thread usbtmc_interface_state_t usbtmc_state =
CFG_TUSB_MEM_SECTION tu_static usbtmc_interface_state_t usbtmc_state =
{
.itf_id = 0xFF,
};
@@ -154,8 +154,8 @@ TU_VERIFY_STATIC(USBTMCD_BUFFER_SIZE >= 32u,"USBTMC dev buffer size too small");
static bool handle_devMsgOutStart(uint8_t rhport, void *data, size_t len);
static bool handle_devMsgOut(uint8_t rhport, void *data, size_t len, size_t packetLen);
static _fuzz_thread uint8_t termChar;
static _fuzz_thread uint8_t termCharRequested = false;
tu_static uint8_t termChar;
tu_static uint8_t termCharRequested = false;
#if OSAL_MUTEX_REQUIRED
static OSAL_MUTEX_DEF(usbtmcLockBuffer);