From 11655fbe46e2a1a7f0abb2cf3870c1366ee87f7e Mon Sep 17 00:00:00 2001 From: Kidenygood <2979564623@qq.com> Date: Mon, 17 Apr 2023 16:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=89=8D=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/referee/referee.c | 2 ++ application/robot.c | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/application/referee/referee.c b/application/referee/referee.c index 7bfd35d..5d91086 100644 --- a/application/referee/referee.c +++ b/application/referee/referee.c @@ -38,6 +38,8 @@ void Referee_Interactive_init() RefereeSend(); //如果此处还要加入车间通信初始化,注意将referee和车间通信的数据合并后再使用 //refereesend函数永远是最后一步 + + //串口接收需要设置喂狗 } void Referee_Interactive_task() diff --git a/application/robot.c b/application/robot.c index 7806bea..8e759a7 100644 --- a/application/robot.c +++ b/application/robot.c @@ -30,13 +30,13 @@ void RobotInit() #if defined(ONE_BOARD) || defined(GIMBAL_BOARD) RobotCMDInit(); - GimbalInit(); - ShootInit(); + // GimbalInit(); + // ShootInit(); #endif #if defined(ONE_BOARD) || defined(CHASSIS_BOARD) - ChassisInit(); + // ChassisInit(); #endif // 初始化完成,开启中断 __enable_irq(); @@ -47,12 +47,12 @@ void RobotTask() { #if defined(ONE_BOARD) || defined(GIMBAL_BOARD) RobotCMDTask(); - GimbalTask(); - ShootTask(); + // GimbalTask(); + // ShootTask(); #endif #if defined(ONE_BOARD) || defined(CHASSIS_BOARD) - ChassisTask(); + // ChassisTask(); // Referee_Interactive_task(); #endif }