这是一次长久的提交:
1. 应用界面增加了返回主页的按钮 2. 修复了gif渲染内存泄漏的严重bug 3. 将PetDao当中的cJSON API替换为cpp_json,完美通过测试 4. 整合已经实现的各种上层建筑,实现了一个宠物对话基本业务应用,用于样品测试展示用 5. 重构了音频播放类,使其更modern,更加便于移植和拓展
This commit is contained in:
@@ -91,7 +91,7 @@ void sd_card_module_test(void)
|
||||
printf("3. 测试文件写入...\n");
|
||||
char test_file_path[] = MOUNT_POINT"/test.txt";
|
||||
char test_data[] = "这是一段测试数据,用于验证SD卡写入功能。";
|
||||
esp_err_t write_result = s_example_write_file(test_file_path, test_data);
|
||||
esp_err_t write_result = s_example_write_file(test_file_path, test_data, "w");
|
||||
if(write_result == ESP_OK) {
|
||||
printf(" 文件写入成功: %s\n", test_file_path);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user