lv文件系统依然有问题 貌似是seek问题
This commit is contained in:
@@ -3,11 +3,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: CC0-1.0
|
||||
*/
|
||||
#define LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lv_conf.h"
|
||||
|
||||
/* 然后包含 lvgl.h */
|
||||
#include "lvgl.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
@@ -36,9 +32,17 @@
|
||||
|
||||
#include "esp_timer.h"
|
||||
|
||||
|
||||
#include "lv_conf.h"
|
||||
|
||||
/* 然后包含 lvgl.h */
|
||||
#include "lvgl.h"
|
||||
|
||||
#include "lv_port_disp.h"
|
||||
#include "lv_port_fs.h"
|
||||
|
||||
#include "lv_log_to_esp.h"
|
||||
|
||||
#include "lv_apps/helloworld/lv_helloworld.h"
|
||||
|
||||
static const char *TAG = "SYS";
|
||||
@@ -110,6 +114,7 @@ void app_main(void)
|
||||
|
||||
lv_init();
|
||||
lv_tick_set_cb(custom_tick_get);
|
||||
lv_log_to_esp_init();
|
||||
lv_port_disp_init();
|
||||
lv_port_fs_init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user