VTOL: Fix MOT_OFF bug

This commit is contained in:
DroneBuster
2016-01-01 14:39:03 +01:00
committed by Lorenz Meier
parent e50fdbe327
commit 56e5c50703
+1 -1
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;
}