VTOL: Fix MOT_OFF bug

This commit is contained in:
DroneBuster
2015-12-29 19:48:48 +02:00
committed by Lorenz Meier
parent e50fdbe327
commit 56e5c50703

View File

@@ -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;
}