mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Ensure motor[0] is used, see 46a0054d78
This commit is contained in:
parent
8282bc76d2
commit
05b1b5a9b2
1 changed files with 1 additions and 3 deletions
|
@ -664,9 +664,7 @@ void mixTable(void)
|
|||
|
||||
if (ARMING_FLAG(ARMED)) {
|
||||
|
||||
int16_t maxMotor;
|
||||
|
||||
maxMotor = 0;
|
||||
int16_t maxMotor = motor[0];
|
||||
for (i = 1; i < motorCount; i++) {
|
||||
if (motor[i] > maxMotor) {
|
||||
maxMotor = motor[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue