Browse Source

VTOL: Fix MOT_OFF bug

sbg
DroneBuster 9 years ago committed by Lorenz Meier
parent
commit
56e5c50703
  1. 2
      src/modules/vtol_att_control/tiltrotor.cpp

2
src/modules/vtol_att_control/tiltrotor.cpp

@ -145,7 +145,7 @@ int Tiltrotor::get_motor_off_channels(int channels) @@ -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;
}

Loading…
Cancel
Save