BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
62c307d6
Commit
62c307d6
authored
Jan 05, 2018
by
Gabor Kiss-Vamosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv_fs: lv_dir_open: bugifx (use rddir_size instead of file_fize)
parent
1c347770
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lv_fs.c
lv_misc/lv_fs.c
+1
-1
No files found.
lv_misc/lv_fs.c
View file @
62c307d6
...
@@ -285,7 +285,7 @@ lv_fs_res_t lv_fs_dir_open(lv_fs_dir_t * rddir_p, const char * path)
...
@@ -285,7 +285,7 @@ lv_fs_res_t lv_fs_dir_open(lv_fs_dir_t * rddir_p, const char * path)
return
LV_FS_RES_NOT_EX
;
return
LV_FS_RES_NOT_EX
;
}
}
rddir_p
->
dir_d
=
lv_mem_alloc
(
rddir_p
->
drv
->
file
_size
);
rddir_p
->
dir_d
=
lv_mem_alloc
(
rddir_p
->
drv
->
rddir
_size
);
if
(
rddir_p
->
dir_d
==
NULL
)
{
if
(
rddir_p
->
dir_d
==
NULL
)
{
rddir_p
->
dir_d
=
NULL
;
rddir_p
->
dir_d
=
NULL
;
return
LV_FS_RES_OUT_OF_MEM
;
/* Out of memory */
return
LV_FS_RES_OUT_OF_MEM
;
/* Out of memory */
...
...
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