From 86ebd874b71a5c11e6595fb0a6598cd2f9e0752b Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 24 Jul 2020 21:37:54 +0200 Subject: [PATCH] make LV_FS_SEEK_... compatible with standard SEEK_... --- src/lv_misc/lv_fs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lv_misc/lv_fs.h b/src/lv_misc/lv_fs.h index 288e52c2b..00eebadc1 100644 --- a/src/lv_misc/lv_fs.h +++ b/src/lv_misc/lv_fs.h @@ -65,9 +65,9 @@ typedef uint8_t lv_fs_mode_t; * Seek modes. */ enum { - LV_FS_SEEK_SET = 0x01, - LV_FS_SEEK_CUR = 0x02, - LV_FS_SEEK_END = 0x03, + LV_FS_SEEK_SET = 0x00, + LV_FS_SEEK_CUR = 0x01, + LV_FS_SEEK_END = 0x02, }; typedef uint8_t lv_fs_whence_t;