lv文件系统依然有问题 貌似是seek问题

This commit is contained in:
2026-02-21 02:24:47 +08:00
parent e24f80b3fc
commit a7dabdb925
12 changed files with 259 additions and 51 deletions
@@ -12,7 +12,7 @@ void lv_example_get_started_1(void)
{
// 1. 加载中文字体
lv_font_t* cn_font_16 = load_chinese_font_from_spiffs("/spiffs/cn_font.bin");
lv_font_t* cn_font_16 = load_chinese_font_from_spiffs("S:/spiffs/cn_font.bin");
if (cn_font_16 == NULL) {
ESP_LOGE(TAG, "无法加载中文字体,使用默认字体");
cn_font_16 = &my_cn_font; // 回退到默认字体