up
修复 显示问题
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user