433
社区成员
发帖
与我相关
我的任务
分享
static rt_err_t init_robot_control()
{
robot_control *rb = &rb_control;
rt_err_t res;
do
{
res = init_pdo_mng(pdo_manager_entry, rb);
} while (res != -RT_EFULL && res != RT_EOK);
if (res == -RT_EFULL)
return -RT_ERROR;
res = init_caculate(control_entry, rb);
return res;
}
MSH_CMD_EXPORT(init_robot_control, "null")
代码如上
putty
cpu0 start CPU 3 OK
Hi, this is RT-Thread!!
Support link mode Speed 1000M
MSH_CMD_EXPORT(init_robot_control, "null")
MSH_CMD_EXPORT(init_robot_control,: command not found.
msh />MSH_CMD_EXPORT(init_robot_control)
MSH_CMD_EXPORT(init_robot_control): command not found.
运行如上