From 4ed0f011f6397c47c4bd9a2330e9d7bca06fd1ba Mon Sep 17 00:00:00 2001 From: GoT Date: Thu, 24 Feb 2022 17:19:04 +0100 Subject: [PATCH] chore(docs): fix type about file system cache_size setting (#3115) --- docs/overview/file-system.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/overview/file-system.md b/docs/overview/file-system.md index 5ef5bc5054df..7d384fa89474 100644 --- a/docs/overview/file-system.md +++ b/docs/overview/file-system.md @@ -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 */