show binary file, generated by server
All checks were successful
Build and Push Multi-Arch Docker Image / build-and-push (push) Successful in 15m48s
All checks were successful
Build and Push Multi-Arch Docker Image / build-and-push (push) Successful in 15m48s
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -170,13 +170,12 @@ lv_fs_res_t fs_seek(lv_fs_drv_t *drv, void *file_p, uint32_t pos, lv_fs_whence_t
|
||||
case LV_FS_SEEK_CUR:
|
||||
f_lseek((FIL *)file_p, f_tell((FIL *)file_p) + pos);
|
||||
break;
|
||||
case LV_FS_SEEK_END:
|
||||
{
|
||||
FSIZE_t fsize = f_size((FIL *)file_p);
|
||||
ESP_LOGI(TAG, "fs_seek to end, file size: %lu", (unsigned long)fsize);
|
||||
f_lseek((FIL *)file_p, fsize + pos);
|
||||
}
|
||||
break;
|
||||
case LV_FS_SEEK_END: {
|
||||
FSIZE_t fsize = f_size((FIL *)file_p);
|
||||
ESP_LOGI(TAG, "fs_seek to end, file size: %lu", (unsigned long)fsize);
|
||||
f_lseek((FIL *)file_p, fsize + pos);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user