mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 03:07:21 +02:00
fix(i2s): fix multi-dev test failure
This commit is contained in:
@ -23,7 +23,7 @@ static const char *TAG = "i2s_multi_dev_test";
|
|||||||
|
|
||||||
#define TEST_I2S_FRAME_SIZE (128) // Frame numbers in every writing / reading
|
#define TEST_I2S_FRAME_SIZE (128) // Frame numbers in every writing / reading
|
||||||
#define TEST_I2S_ARRAY_LENGTH (1024) // The loop data length for verification
|
#define TEST_I2S_ARRAY_LENGTH (1024) // The loop data length for verification
|
||||||
#define TEST_I2S_MAX_DATA (256) // The maximum data value in the data buffer
|
#define TEST_I2S_MAX_DATA (128) // The maximum data value in the data buffer
|
||||||
#define TEST_I2S_MAX_FAIL_CNT (3) // Max broken packet count
|
#define TEST_I2S_MAX_FAIL_CNT (3) // Max broken packet count
|
||||||
#define TEST_I2S_FRAME_TIMEOUT_SEC (10.0f) // Timeout seconds of waiting for a correct frame
|
#define TEST_I2S_FRAME_TIMEOUT_SEC (10.0f) // Timeout seconds of waiting for a correct frame
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2020-2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@ -74,7 +74,7 @@ static inline void i2s_ll_dma_enable_auto_write_back(i2s_dev_t *hw, bool en)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief I2S DMA generate EOF event on data in FIFO poped out
|
* @brief I2S DMA generate EOF event on data in FIFO popped out
|
||||||
*
|
*
|
||||||
* @param hw Peripheral I2S hardware instance address.
|
* @param hw Peripheral I2S hardware instance address.
|
||||||
* @param en True to enable, False to disable
|
* @param en True to enable, False to disable
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2020-2023 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2020-2024 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@ -72,7 +72,7 @@ static inline void i2s_ll_dma_enable_auto_write_back(i2s_dev_t *hw, bool en)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief I2S DMA generate EOF event on data in FIFO poped out
|
* @brief I2S DMA generate EOF event on data in FIFO popped out
|
||||||
*
|
*
|
||||||
* @param hw Peripheral I2S hardware instance address.
|
* @param hw Peripheral I2S hardware instance address.
|
||||||
* @param en True to enable, False to disable
|
* @param en True to enable, False to disable
|
||||||
|
Reference in New Issue
Block a user