这是一次长久的提交:

1. 应用界面增加了返回主页的按钮
2. 修复了gif渲染内存泄漏的严重bug
3. 将PetDao当中的cJSON API替换为cpp_json,完美通过测试
4. 整合已经实现的各种上层建筑,实现了一个宠物对话基本业务应用,用于样品测试展示用
5. 重构了音频播放类,使其更modern,更加便于移植和拓展
This commit is contained in:
Misaki
2025-10-16 11:36:45 +08:00
parent 801138631e
commit ba5e47bc77
38 changed files with 2487 additions and 2008 deletions
+2 -2
View File
@@ -9,10 +9,10 @@ uint32_t Flash_Size = 0;
uint32_t SDCard_Size = 0;
esp_err_t s_example_write_file(const char *path, char *data)
esp_err_t s_example_write_file(const char *path, const char *data, const char *type)
{
ESP_LOGI(SD_TAG, "Opening file %s", path);
FILE *f = fopen(path, "w");
FILE *f = fopen(path, type);
if (f == NULL) {
ESP_LOGE(SD_TAG, "Failed to open file for writing");
return ESP_FAIL;