Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5b20710

Browse filesBrowse files
authored
Fix: SD_MMC deinit (espressif#5732)
* SD.open() new feature for creating all folders in path This PR adds to the SD.open() function option to create all folders to the file. SD.open(const char* path, const char* mode, const bool create) Default value of create is false. When true folders are created. From issue espressif#5019 * Update vfs_api.cpp memccpy -> memcpy * SD_MMC deinit fix Wrong deinit function was called.
1 parent bd54ee4 commit 5b20710
Copy full SHA for 5b20710

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎libraries/SD_MMC/src/SD_MMC.cpp

Copy file name to clipboardExpand all lines: libraries/SD_MMC/src/SD_MMC.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bool SDMMCFS::begin(const char * mountpoint, bool mode1bit, bool format_if_mount
5454
host.set_bus_ddr_mode = &sdmmc_host_set_bus_ddr_mode;
5555
host.set_card_clk = &sdmmc_host_set_card_clk;
5656
host.do_transaction = &sdmmc_host_do_transaction;
57-
host.deinit_p = &sdspi_host_remove_device;
57+
host.deinit = &sdmmc_host_deinit;
5858
host.io_int_enable = &sdmmc_host_io_int_enable;
5959
host.io_int_wait = &sdmmc_host_io_int_wait;
6060
host.command_timeout_ms = 0;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.