fix(gdma): fixed the race conditon in of gdma resource allocation

This commit is contained in:
morris
2025-11-03 10:10:29 +08:00
parent 811e27118d
commit 468ae71bd7
10 changed files with 173 additions and 167 deletions
@@ -8,8 +8,8 @@
#include "unity_test_runner.h"
#include "esp_heap_caps.h"
// Some resources are lazy allocated in I2S driver, the threadhold is left for that case
#define TEST_MEMORY_LEAK_THRESHOLD (-300)
// Some resources are lazy allocated in I2S driver, the threshold is left for that case
#define TEST_MEMORY_LEAK_THRESHOLD (-350)
static size_t before_free_8bit;
static size_t before_free_32bit;