Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
5bf60b74
Unverified
Commit
5bf60b74
authored
Jan 17, 2024
by
Jason2866
Committed by
GitHub
Jan 17, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SD library: Fix format (#9124)
parent
7696dcc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/SD/src/sd_diskio.cpp
libraries/SD/src/sd_diskio.cpp
+1
-1
No files found.
libraries/SD/src/sd_diskio.cpp
View file @
5bf60b74
...
@@ -809,7 +809,7 @@ bool sdcard_mount(uint8_t pdrv, const char* path, uint8_t max_files, bool format
...
@@ -809,7 +809,7 @@ bool sdcard_mount(uint8_t pdrv, const char* path, uint8_t max_files, bool format
log_e
(
"alloc for f_mkfs failed"
);
log_e
(
"alloc for f_mkfs failed"
);
return
false
;
return
false
;
}
}
res
=
f_mkfs
(
drv
,
FM_ANY
,
0
,
work
,
sizeof
(
work
)
);
res
=
f_mkfs
(
drv
,
FM_ANY
,
0
,
work
,
sizeof
(
BYTE
)
*
FF_MAX_SS
);
free
(
work
);
free
(
work
);
if
(
res
!=
FR_OK
)
{
if
(
res
!=
FR_OK
)
{
log_e
(
"f_mkfs failed: %s"
,
fferr2str
[
res
]);
log_e
(
"f_mkfs failed: %s"
,
fferr2str
[
res
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment