lv文件系统依然有问题 貌似是seek问题
This commit is contained in:
@@ -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; // 回退到默认字体
|
||||
|
||||
Reference in New Issue
Block a user