From b476bd0aa635d24f7bbf9133c04d9dbecbc432bb Mon Sep 17 00:00:00 2001 From: zcj <2487150395@qq.com> Date: Fri, 20 Dec 2024 17:09:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3dji=5Fmotor.c=E9=87=8Csender?= =?UTF-8?q?=5Fenable=5Fflag=E6=95=B0=E7=BB=84=E8=B6=8A=E7=95=8C=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/motor/DJImotor/dji_motor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/motor/DJImotor/dji_motor.c b/modules/motor/DJImotor/dji_motor.c index 0895c0d..5a8fa7f 100644 --- a/modules/motor/DJImotor/dji_motor.c +++ b/modules/motor/DJImotor/dji_motor.c @@ -44,10 +44,10 @@ static CANInstance sender_assignment[10] = { }; /** - * @brief 6个用于确认是否有电机注册到sender_assignment中的标志位,防止发送空帧,此变量将在DJIMotorControl()使用 + * @brief 10个用于确认是否有电机注册到sender_assignment中的标志位,防止发送空帧,此变量将在DJIMotorControl()使用 * flag的初始化在 MotorSenderGrouping()中进行 */ -static uint8_t sender_enable_flag[6] = {0}; +static uint8_t sender_enable_flag[10] = {0}; /** * @brief 根据电调/拨码开关上的ID,根据说明书的默认id分配方式计算发送ID和接收ID,