Skip to content

Commit

Permalink
Use lower SD card frequency for wider range of cards (fixes #19)
Browse files Browse the repository at this point in the history
  • Loading branch information
david hamp-gonsalves committed Sep 12, 2024
1 parent 8d994a4 commit 7eb26bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/src/SDCard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SDCard::SDCard(gpio_num_t clk, gpio_num_t cmd, gpio_num_t d0, gpio_num_t d1, gpi

SDCard::SDCard(gpio_num_t miso, gpio_num_t mosi, gpio_num_t clk, gpio_num_t cs)
{
m_host.max_freq_khz = SDMMC_FREQ_52M;
m_host.max_freq_khz = SDMMC_FREQ_DEFAULT; // A faster speed can be used if your card supports it
esp_err_t ret;
// Options for mounting the filesystem.
// If format_if_mount_failed is set to true, SD card will be partitioned and
Expand Down

0 comments on commit 7eb26bb

Please sign in to comment.