This commit is contained in:
2026-03-27 23:10:59 +08:00
parent 427b4f4eb8
commit 38258ca6e5
5 changed files with 15 additions and 13 deletions

View File

@@ -136,9 +136,9 @@ int main(void)
MX_CAN1_Init();
MX_UART4_Init();
/* USER CODE BEGIN 2 */
FourWheel_LADRC_Init();
HAL_Delay(1000);
CAN_App_Init();
FourWheel_LADRC_Init();
/* 启动 10ms 硬实时控制节拍。 */
if (HAL_TIM_Base_Start_IT(&htim6) != HAL_OK)