mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 13:23:33 +08:00
VTOL: Fix MOT_OFF bug
This commit is contained in:
committed by
Lorenz Meier
parent
e50fdbe327
commit
56e5c50703
@@ -145,7 +145,7 @@ int Tiltrotor::get_motor_off_channels(int channels)
|
||||
break;
|
||||
}
|
||||
|
||||
channel_bitmap |= 1 << channel;
|
||||
channel_bitmap |= 1 << (channel - 1);
|
||||
channels = channels / 10;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user