@@ -56,7 +56,7 @@ typedef struct
5656} dfu_state_ctx_t ;
5757
5858// Only a single dfu state is allowed
59- CFG_TUSB_MEM_SECTION static _fuzz_thread dfu_state_ctx_t _dfu_ctx ;
59+ CFG_TUSB_MEM_SECTION tu_static dfu_state_ctx_t _dfu_ctx ;
6060
6161static void reset_state (void )
6262{
@@ -74,7 +74,7 @@ static bool process_manifest_get_status(uint8_t rhport, uint8_t stage, tusb_cont
7474//--------------------------------------------------------------------+
7575#if CFG_TUSB_DEBUG >= 2
7676
77- static _fuzz_thread tu_lookup_entry_t const _dfu_request_lookup [] =
77+ tu_static tu_lookup_entry_t const _dfu_request_lookup [] =
7878{
7979 { .key = DFU_REQUEST_DETACH , .data = "DETACH" },
8080 { .key = DFU_REQUEST_DNLOAD , .data = "DNLOAD" },
@@ -85,13 +85,13 @@ static _fuzz_thread tu_lookup_entry_t const _dfu_request_lookup[] =
8585 { .key = DFU_REQUEST_ABORT , .data = "ABORT" },
8686};
8787
88- static _fuzz_thread tu_lookup_table_t const _dfu_request_table =
88+ tu_static tu_lookup_table_t const _dfu_request_table =
8989{
9090 .count = TU_ARRAY_SIZE (_dfu_request_lookup ),
9191 .items = _dfu_request_lookup
9292};
9393
94- static _fuzz_thread tu_lookup_entry_t const _dfu_state_lookup [] =
94+ tu_static tu_lookup_entry_t const _dfu_state_lookup [] =
9595{
9696 { .key = APP_IDLE , .data = "APP_IDLE" },
9797 { .key = APP_DETACH , .data = "APP_DETACH" },
@@ -106,13 +106,13 @@ static _fuzz_thread tu_lookup_entry_t const _dfu_state_lookup[] =
106106 { .key = DFU_ERROR , .data = "ERROR" },
107107};
108108
109- static _fuzz_thread tu_lookup_table_t const _dfu_state_table =
109+ tu_static tu_lookup_table_t const _dfu_state_table =
110110{
111111 .count = TU_ARRAY_SIZE (_dfu_state_lookup ),
112112 .items = _dfu_state_lookup
113113};
114114
115- static _fuzz_thread tu_lookup_entry_t const _dfu_status_lookup [] =
115+ tu_static tu_lookup_entry_t const _dfu_status_lookup [] =
116116{
117117 { .key = DFU_STATUS_OK , .data = "OK" },
118118 { .key = DFU_STATUS_ERR_TARGET , .data = "errTARGET" },
@@ -132,7 +132,7 @@ static _fuzz_thread tu_lookup_entry_t const _dfu_status_lookup[] =
132132 { .key = DFU_STATUS_ERR_STALLEDPKT , .data = "errSTALLEDPKT" },
133133};
134134
135- static _fuzz_thread tu_lookup_table_t const _dfu_status_table =
135+ tu_static tu_lookup_table_t const _dfu_status_table =
136136{
137137 .count = TU_ARRAY_SIZE (_dfu_status_lookup ),
138138 .items = _dfu_status_lookup
0 commit comments