Browse Source

Sub: Clean up parameter conversion code

mission-4.1.18
Jacob Walser 8 years ago committed by Andrew Tridgell
parent
commit
7b214a0088
  1. 5
      ArduSub/Parameters.cpp

5
ArduSub/Parameters.cpp

@ -978,8 +978,5 @@ void Sub::convert_old_parameters(void)
}; };
const uint16_t old_aux_chan_mask = 0x3FF0; const uint16_t old_aux_chan_mask = 0x3FF0;
// note that we don't pass in rcmap as we don't want output channel functions changed based on rcmap // note that we don't pass in rcmap as we don't want output channel functions changed based on rcmap
if (SRV_Channels::upgrade_parameters(old_rc_keys, old_aux_chan_mask, nullptr)) { SRV_Channels::upgrade_parameters(old_rc_keys, old_aux_chan_mask, nullptr);
// the rest needs to be done after motors allocation
// upgrading_frame_params = true;
}
} }

Loading…
Cancel
Save