kopia lustrzana https://github.com/espressif/esp-idf
apptrace: Fixes multiple defs of '__esp_apptrace_trax_eri_updated' for O2 builds
rodzic
59b763bb9a
commit
1850941550
|
@ -495,7 +495,7 @@ static uint16_t esp_apptrace_trax_pend_chunk_sz_get(void)
|
|||
#endif
|
||||
|
||||
// assumed to be protected by caller from multi-core/thread access
|
||||
static esp_err_t esp_apptrace_trax_block_switch(void)
|
||||
static __attribute__((noinline)) esp_err_t esp_apptrace_trax_block_switch(void)
|
||||
{
|
||||
int prev_block_num = s_trace_buf.trax.state.in_block % 2;
|
||||
int new_block_num = prev_block_num ? (0) : (1);
|
||||
|
|
Ładowanie…
Reference in New Issue