diff --git a/.vscode/settings.json b/.vscode/settings.json index 839aa1a..f378d01 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -32,6 +32,19 @@ "drv_adc.h": "c", "service_update.h": "c", "speed_to_servomotor.h": "c", - "service_autoreturn.h": "c" + "service_autoreturn.h": "c", + "angle_zerooffset.h": "c", + "full_bridge.h": "c", + "l6235d.h": "c", + "device_wdog.h": "c", + "agent_hyt.h": "c", + "device_heatresistor.h": "c", + "rotate_plan.h": "c", + "sock_utils.h": "c", + "device_photoelectricswitch.h": "c", + "angle_poweroffsave.h": "c", + "comm_cfginfo.h": "c", + "servomotor.h": "c", + "pdebug.h": "c" } } \ No newline at end of file diff --git a/APP/Appcfg/app.c b/APP/Appcfg/app.c index 32d54aa..d951bfc 100644 --- a/APP/Appcfg/app.c +++ b/APP/Appcfg/app.c @@ -207,15 +207,15 @@ static void task_start (void *p_arg) beep_disable(); - while (DEF_TRUE) { + while (DEF_TRUE) { OSTimeDlyHMSM(0u, 0u, 1u, 0u); OSTaskDel(OS_PRIO_SELF); } } -/// 主函数 +/// 主函数 /// -/// 创建第一个任务,由该任务再创建其他功能任务 +/// 创建第一个任务,由该任务再创建其他功能任务 /// @param none /// @param none /// @return none @@ -240,7 +240,7 @@ int main (void) (INT8U ) TASK_START_PRIO, (INT16U ) TASK_START_PRIO, (OS_STK *)&task_start_stk[0], - (INT32U ) TASK_START_STK_SIZE, + (INT32U ) TASK_START_STK_SIZE, (void *) 0, (INT16U )(OS_TASK_OPT_STK_CHK | OS_TASK_OPT_STK_CLR));