mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
OP-1660 - HotFix: Force min to 1000 to prevent dangerous behaviours (motors spinning) during calibration
This commit is contained in:
parent
a7677843e6
commit
b9566545ed
@ -1702,7 +1702,7 @@ void ConfigInputWidget::resetActuatorSettings()
|
|||||||
// 1500 = servo middle, can be applied to all outputs because board is 'Alwaysdisarmed'
|
// 1500 = servo middle, can be applied to all outputs because board is 'Alwaysdisarmed'
|
||||||
for (unsigned int output = 0; output < 12; output++) {
|
for (unsigned int output = 0; output < 12; output++) {
|
||||||
actuatorSettingsData.ChannelMax[output] = 1500;
|
actuatorSettingsData.ChannelMax[output] = 1500;
|
||||||
actuatorSettingsData.ChannelMin[output] = 1500;
|
actuatorSettingsData.ChannelMin[output] = 1000;
|
||||||
actuatorSettingsData.ChannelNeutral[output] = 1500;
|
actuatorSettingsData.ChannelNeutral[output] = 1500;
|
||||||
actuatorSettingsObj->setData(actuatorSettingsData);
|
actuatorSettingsObj->setData(actuatorSettingsData);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user