From 3972bf35bcd81e9eb866ed342d2ad5cd584aff95 Mon Sep 17 00:00:00 2001 From: Fang-Pen Lin Date: Tue, 7 Jan 2025 23:33:54 -0800 Subject: [PATCH] Fix #507 - add missing sdmmc_host_get_dma_info for sdcard driver (#508) * Add missing sdmmc_host_get_dma_info for sdcard driver * Add change logs --- CHANGELOG.md | 1 + src/sd.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91c95deed48..ca25a7ad58e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fix RGB to u32 conversion order in rmt_neopixel example (#505) +- Fix missing sdmmc_host_get_dma_info for sdcard driver bug (#507) ## [0.45.0] - 2025-01-02 diff --git a/src/sd.rs b/src/sd.rs index e4cb40febf0..a73df7a3109 100755 --- a/src/sd.rs +++ b/src/sd.rs @@ -387,7 +387,7 @@ mod sdcard { all(esp_idf_version_major = "5", esp_idf_version_minor = "1"), all(esp_idf_version_major = "5", esp_idf_version_minor = "2"), )))] // For ESP-IDF v5.3 and later - get_dma_info: None, + get_dma_info: Some(sdmmc_host_get_dma_info), #[cfg(not(any( esp_idf_version_major = "4", all(esp_idf_version_major = "5", esp_idf_version_minor = "0"),