mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
esp_ringbuf: don't test xRingbufferCreate with cache disabled
Creating a ringbuffer is not an operation that needs to be done when the cache is disabled.
This commit is contained in:
parent
f8997beb0d
commit
66e45d143b
@ -673,8 +673,8 @@ static IRAM_ATTR __attribute__((noinline)) bool iram_ringbuf_test(void)
|
||||
{
|
||||
bool result = true;
|
||||
|
||||
spi_flash_guard_get()->start(); // Disables flash cache
|
||||
RingbufHandle_t handle = xRingbufferCreate(CONT_DATA_TEST_BUFF_LEN, RINGBUF_TYPE_NOSPLIT);
|
||||
spi_flash_guard_get()->start(); // Disables flash cache
|
||||
result = result && (handle != NULL);
|
||||
xRingbufferGetMaxItemSize(handle);
|
||||
vRingbufferDelete(handle);
|
||||
|
Loading…
x
Reference in New Issue
Block a user