Skip to content

Commit

Permalink
Merge branch 'master' into feature/ledc-channel-selection
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y authored Jan 1, 2024
2 parents f57137d + b2e7338 commit fd7fca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions libraries/LittleFS/src/LittleFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ bool LittleFSFS::begin(bool formatOnFail, const char * basePath, uint8_t maxOpen
esp_vfs_littlefs_conf_t conf = {
.base_path = basePath,
.partition_label = partitionLabel_,
.partition = NULL,
.format_if_mount_failed = false,
.read_only = false,
.dont_mount = false,
.grow_on_mount = true
};
Expand Down
2 changes: 1 addition & 1 deletion libraries/SD/src/sd_diskio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ bool sdcard_mount(uint8_t pdrv, const char* path, uint8_t max_files, bool format
}
//FRESULT f_mkfs (const TCHAR* path, const MKFS_PARM* opt, void* work, UINT len);
const MKFS_PARM opt = {(BYTE)FM_ANY, 0, 0, 0, 0};
res = f_mkfs(drv, &opt, work, sizeof(work));
res = f_mkfs(drv, &opt, work, sizeof(BYTE) * FF_MAX_SS);
free(work);
if (res != FR_OK) {
log_e("f_mkfs failed: %s", fferr2str[res]);
Expand Down

0 comments on commit fd7fca5

Please sign in to comment.