TT12-MCU/applications/cfg.h
murmur 5af0888b3b demo.c 添加线程接收用例
添加 ttTR.c ,基本完成发送功能
2023-05-30 16:53:31 +08:00

21 lines
399 B
C

/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2023-05-30 murmur the first version
*/
#include <rtthread.h>
/* 串口接收消息结构*/
typedef struct
{
char key[10];
char value[10];
} CFG_MSG;
int get_cfg(const char *k);
int set_cfg(const char *k, const char*v);