1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-02 10:24:11 +01:00

OP-592: Also fix so it reads the values for channels 9 and 10 correctly

This commit is contained in:
James Cotton 2011-11-07 15:58:08 -06:00
parent af6eeca8ee
commit 813ac65159

View File

@ -206,7 +206,7 @@ void ConfigCameraStabilizationWidget::refreshValues()
MixerSettings * mixerSettings = MixerSettings::GetInstance(getObjectManager());
MixerSettings::DataFields mixerSettingsData = mixerSettings->getData();
const int NUM_MIXERS = 8;
const int NUM_MIXERS = 10;
QComboBox * selectors[3] = {
m_camerastabilization->rollChannel,
m_camerastabilization->pitchChannel,
@ -224,6 +224,8 @@ void ConfigCameraStabilizationWidget::refreshValues()
&mixerSettingsData.Mixer6Type,
&mixerSettingsData.Mixer7Type,
&mixerSettingsData.Mixer8Type,
&mixerSettingsData.Mixer9Type,
&mixerSettingsData.Mixer10Type,
};
for (int i = 0; i < 3; i++)