解决dji_motor.c里sender_enable_flag数组越界问题

This commit is contained in:
zcj 2024-12-20 17:09:33 +08:00
parent 666585e60a
commit b476bd0aa6
1 changed files with 2 additions and 2 deletions

View File

@ -44,10 +44,10 @@ static CANInstance sender_assignment[10] = {
}; };
/** /**
* @brief 6sender_assignment中的标志位,,DJIMotorControl()使 * @brief 10sender_assignment中的标志位,,DJIMotorControl()使
* flag的初始化在 MotorSenderGrouping() * flag的初始化在 MotorSenderGrouping()
*/ */
static uint8_t sender_enable_flag[6] = {0}; static uint8_t sender_enable_flag[10] = {0};
/** /**
* @brief /ID,id分配方式计算发送ID和接收ID, * @brief /ID,id分配方式计算发送ID和接收ID,