修复 显示问题
This commit is contained in:
2026-02-24 20:49:23 +08:00
parent c85dfa31ed
commit 2f452e694c
5 changed files with 91 additions and 11 deletions
+6 -10
View File
@@ -16,6 +16,7 @@
#include "esp_system.h"
#include "esp_spiffs.h"
#include "esp_log.h"
#include "esp_timer.h"
#include <string.h>
#include <sys/unistd.h>
@@ -25,24 +26,15 @@
#include <time.h> // 时间相关函数
#include "spiffs.h"
#include "spi.h"
#include "lcd.h"
#include "esp_timer.h"
#include "e11.h"
#include "lv_conf.h"
/* 然后包含 lvgl.h */
#include "lvgl/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";
@@ -133,6 +125,8 @@ void app_main(void)
list_spiffs_files_safe(spiffs_base_path);
}
e11_init();
spi_init();
lcd_init();
@@ -145,6 +139,8 @@ void app_main(void)
lv_example_get_started_1();
while (1)
{