mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00: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