mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-23 19:25:09 +08:00
add devcmdtask but couldnt recv data
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
// #include "bsp_dwt.h"
|
||||
// // #include "ins_task.h"
|
||||
// #include "bsp_log.h"
|
||||
|
||||
#include "dev_cmd.h"
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
@@ -136,20 +136,30 @@ void StartINSTASK(void const *argument);
|
||||
/* USER CODE END FunctionPrototypes */
|
||||
|
||||
void StartDefaultTask(void *argument);
|
||||
|
||||
void ShootTask(void *argument);
|
||||
|
||||
void GimbalTask(void *argument);
|
||||
|
||||
void ChassisTask(void *argument);
|
||||
|
||||
void StartInitTask(void *argument);
|
||||
|
||||
void VisionTask(void *argument);
|
||||
|
||||
void CmdTask(void *argument);
|
||||
|
||||
void RefereeTask(void *argument);
|
||||
|
||||
extern void ws2812Task(void *argument);
|
||||
|
||||
extern void MX_USB_DEVICE_Init(void);
|
||||
|
||||
void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
|
||||
|
||||
/* Hook prototypes */
|
||||
void vApplicationStackOverflowHook(xTaskHandle xTask, signed char *pcTaskName);
|
||||
|
||||
void vApplicationMallocFailedHook(void);
|
||||
|
||||
/* USER CODE BEGIN 4 */
|
||||
@@ -184,7 +194,8 @@ void vApplicationMallocFailedHook(void)
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
void MX_FREERTOS_Init(void) {
|
||||
void MX_FREERTOS_Init(void)
|
||||
{
|
||||
/* USER CODE BEGIN Init */
|
||||
|
||||
/* USER CODE END Init */
|
||||
@@ -243,7 +254,6 @@ void MX_FREERTOS_Init(void) {
|
||||
/* USER CODE BEGIN RTOS_EVENTS */
|
||||
/* add events, ... */
|
||||
/* USER CODE END RTOS_EVENTS */
|
||||
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN Header_StartDefaultTask */
|
||||
@@ -416,6 +426,5 @@ __attribute__((noreturn)) void StartINSTASK(void const *argument)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* USER CODE END Application */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user