diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-19 21:34:09 -0500 |
|---|---|---|
| committer | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-19 21:34:09 -0500 |
| commit | 0cb345ed5ccbe786d0a7e7e2de740c0a07b82770 (patch) | |
| tree | 89682cd81419b138c5657cfa2dae797c81f8ea33 /Core/Src/sai.c | |
| parent | 0c79f390c81f56fd087c2fffb07b373594119668 (diff) | |
sdram and ringmod effect
Diffstat (limited to 'Core/Src/sai.c')
| -rwxr-xr-x | Core/Src/sai.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Src/sai.c b/Core/Src/sai.c index 9601fc8..b91cd1f 100755 --- a/Core/Src/sai.c +++ b/Core/Src/sai.c @@ -120,7 +120,7 @@ void HAL_SAI_MspInit(SAI_HandleTypeDef* saiHandle) hdma_sai1_a.Init.PeriphDataAlignment = DMA_PDATAALIGN_WORD;
hdma_sai1_a.Init.MemDataAlignment = DMA_MDATAALIGN_WORD;
hdma_sai1_a.Init.Mode = DMA_CIRCULAR;
- hdma_sai1_a.Init.Priority = DMA_PRIORITY_HIGH;
+ hdma_sai1_a.Init.Priority = DMA_PRIORITY_VERY_HIGH;
hdma_sai1_a.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
if (HAL_DMA_Init(&hdma_sai1_a) != HAL_OK)
{
@@ -161,7 +161,7 @@ void HAL_SAI_MspInit(SAI_HandleTypeDef* saiHandle) hdma_sai1_b.Init.PeriphDataAlignment = DMA_PDATAALIGN_WORD;
hdma_sai1_b.Init.MemDataAlignment = DMA_MDATAALIGN_WORD;
hdma_sai1_b.Init.Mode = DMA_CIRCULAR;
- hdma_sai1_b.Init.Priority = DMA_PRIORITY_HIGH;
+ hdma_sai1_b.Init.Priority = DMA_PRIORITY_VERY_HIGH;
hdma_sai1_b.Init.FIFOMode = DMA_FIFOMODE_DISABLE;
if (HAL_DMA_Init(&hdma_sai1_b) != HAL_OK)
{
|
