/* * 配置相关 */ /* Includes ----------------------------------------------------------------- */ #include "module/config.h" #include /* Private typedef ---------------------------------------------------------- */ /* Private define ----------------------------------------------------------- */ /* Private macro ------------------------------------------------------------ */ /* Private variables -------------------------------------------------------- */ /* Exported variables ------------------------------------------------------- */ // 机器人参数配置 Config_t robot_config = { .mr16={ .TX_ID=0x0001, } }; /* Private function prototypes ---------------------------------------------- */ /* Exported functions ------------------------------------------------------- */ /** * @brief 获取机器人配置参数 * @return 机器人配置参数指针 */ Config_t* Config_GetRobotParam(void) { return &robot_config; }