1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00

make LV_FS_SEEK_... compatible with standard SEEK_...

This commit is contained in:
Gabor Kiss-Vamosi 2020-07-24 21:37:54 +02:00
parent 686483be89
commit 86ebd874b7

View File

@ -65,9 +65,9 @@ typedef uint8_t lv_fs_mode_t;
* Seek modes. * Seek modes.
*/ */
enum { enum {
LV_FS_SEEK_SET = 0x01, LV_FS_SEEK_SET = 0x00,
LV_FS_SEEK_CUR = 0x02, LV_FS_SEEK_CUR = 0x01,
LV_FS_SEEK_END = 0x03, LV_FS_SEEK_END = 0x02,
}; };
typedef uint8_t lv_fs_whence_t; typedef uint8_t lv_fs_whence_t;