1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-05 21:52:10 +01:00

OP-493: Make sure accessory desired is not a single instance object

This commit is contained in:
James Cotton 2011-06-05 08:34:12 -05:00
parent 8ebd6a83d6
commit a1336e4d03
2 changed files with 13 additions and 13 deletions

View File

@ -201,7 +201,7 @@ static void actuatorTask(void* parameters)
float curve1 = MixerCurve(desired.Throttle,mixerSettings.ThrottleCurve1);
//The source for the secondary curve is selectable
float curve2;
float curve2 = 0;
AccessoryDesiredData accessory;
switch(mixerSettings.Curve2Source) {
case MIXERSETTINGS_CURVE2SOURCE_THROTTLE:

View File

@ -1,5 +1,5 @@
<xml>
<object name="AccessoryDesired" singleinstance="true" settings="false">
<object name="AccessoryDesired" singleinstance="false" settings="false">
<description>Desired Auxillary actuator settings. Comes from @ref ManualControlModule.</description>
<field name="AccessoryVal" units="" type="float" elements="1"/>
<access gcs="readwrite" flight="readwrite"/>