1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-1660 - HotFix: Force min to 1000 to prevent dangerous behaviours (motors spinning) during calibration

This commit is contained in:
Alessio Morale 2015-01-09 16:25:34 +01:00
parent a7677843e6
commit b9566545ed

View File

@ -1702,7 +1702,7 @@ void ConfigInputWidget::resetActuatorSettings()
// 1500 = servo middle, can be applied to all outputs because board is 'Alwaysdisarmed'
for (unsigned int output = 0; output < 12; output++) {
actuatorSettingsData.ChannelMax[output] = 1500;
actuatorSettingsData.ChannelMin[output] = 1500;
actuatorSettingsData.ChannelMin[output] = 1000;
actuatorSettingsData.ChannelNeutral[output] = 1500;
actuatorSettingsObj->setData(actuatorSettingsData);
}