系统页面存储配置

This commit is contained in:
sc committed 2026-01-23 00:34:33 +08:00
1 parent b190bf7727
commit 552a916705
6 files changed
+103 -78

No files matched your search

+2 -2
View File
@@ -54,8 +54,8 @@ int read_sample(void)
if (access(INI_config, F_OK) != 0)
{
LOG_E("NOT 828config");
int fd = open(INI_config, O_WRONLY | O_CREAT);//创建文件
close(fd);
// int fd = open(INI_config, O_WRONLY | O_CREAT);//创建文件
// close(fd);
}
// 初始化INI解析器
INI_File *ini = ini_init();
+15
View File
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2026-01-23 Administrator the first version
*/
#ifndef APPLICATIONS_INI_CONFIG_H_
#define APPLICATIONS_INI_CONFIG_H_
extern void write_sample(void);
#endif /* APPLICATIONS_INI_CONFIG_H_ */