allows to use '-' instead of '0-' for minus; bound values after a 'fit'

This commit is contained in:
Gautier Hattenberger
2011-05-10 10:08:39 +02:00
parent 002efa3295
commit 58d11d0c1b
2 changed files with 11 additions and 9 deletions
+4 -4
View File
@@ -12,10 +12,10 @@
<message class="datalink" name="RC_4CH" send_always="true">
<field name="mode" value="mode + 1"/> <!-- only AUTO1 and AUTO2 available -->
<field name="throttle" value="Fit(throttle,0-100,100,0,127)"/>
<field name="roll" value="roll"/>
<field name="pitch" value="pitch"/>
<field name="yaw" value="yaw"/>
<field name="throttle" value="Fit(throttle,-100,100,0,127)"/>
<field name="roll" value="Fit(roll,-100,100,-127,127)"/>
<field name="pitch" value="Fit(pitch,-100,100,-127,127)"/>
<field name="yaw" value="Fit(yaw,-100,100,-127,127)"/>
</message>
</messages>