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:
parent
8ebd6a83d6
commit
a1336e4d03
@ -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:
|
||||
|
@ -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"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user