Skip to content

Commit

Permalink
Merge pull request #23 from davidhampgonsalves/main
Browse files Browse the repository at this point in the history
Use lower SD card frequency for wider range of cards (fixes #19)
  • Loading branch information
cgreening authored Sep 12, 2024
2 parents 8d994a4 + 7eb26bb commit 71f4815
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 71f4815

Please sign in to comment.