Skip to content

Commit

Permalink
chore(docs): fix type about file system cache_size setting (lvgl#3115)
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRambaud authored Feb 24, 2022
1 parent ac202e7 commit 4ed0f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/overview/file-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static lv_fs_drv_t drv; /*Needs to be static or global*/
lv_fs_drv_init(&drv); /*Basic initialization*/

drv.letter = 'S'; /*An uppercase letter to identify the drive */
drv.cache_size = my_cahce_size; /*Cache size for reading in bytes. 0 to not cache.*/
drv.cache_size = my_cache_size; /*Cache size for reading in bytes. 0 to not cache.*/

drv.ready_cb = my_ready_cb; /*Callback to tell if the drive is ready to use */
drv.open_cb = my_open_cb; /*Callback to open a file */
Expand Down

0 comments on commit 4ed0f01

Please sign in to comment.