tbs-fpv / freedomtx

FreedomTX custom firmware for Transmitters
GNU General Public License v2.0
60 stars 8 forks source link

Trims not fully usable as input switch #9

Open FPVZaphod opened 4 years ago

FPVZaphod commented 4 years ago

Describe the bug Usually with OpenTX it's possible to use the Trims as Input switches. As an example, you can use them to increase a global variable, or trigger a function. In FreedomTX this is not fully working.

To Reproduce Steps to reproduce the behavior:

  1. Disable Trims in Flight Modes:

1

  1. Disable Trims in all Inputs (here aileron as example) 2

  2. Define Special Function for Rudder Trim left and right, as an example "play sound" 3

If you enter the Rudder Trim Function, you can hear the sound while turning the rocker in one direction (rudder right), but not when turning in the other direction. Throttle Trim as an input doesn´t work at all.

Expected behavior The Trims should be usable for other functions, like in OpenTX on a X9d. There I can use rudder trim left to Autotune my iNav, and rudder trim right to turn on the buzzer. Also works on X-Lite Pro with it's trim cross switch. Would be great to also have it on the Tango2. It seems to be possible, but there is a bug.

General information

FPVZaphod commented 3 years ago

Problem still existing in v1.21...