This page contains old user_defines.txt that have been removed or superseded by new defines.
New items should be added to the top of the list so the last entry here is the oldest. The order of each entry should be [code]definename[/code] followed by the original text of the documentation, ending with a separate paragraph "REMOVED [version] [replacement or reason for removal]".
DYNPOWER_THRESH_UPdBm from the sensitivity limit, the algorithm will increase the power output by one step. Similarly, if the RSSI is above
DYNPOWER_THRESH_DNfrom the sensitivity limit, the power will be decreased by one step.
AUX1 is the channel ExpressLRS uses to detect "ARMED", and this feature assumes that a low value of the arm switch is disarmed, and a high value is armed. OpenTX can invert your switch if you prefer it to be mechanically inverted. It is best not to enable no sync on the arm when you are first setting up ExpressLRS as it can be a source of confusion.
These features enable lower latency 🏃♂️ and offset from the OpenTX radio to the TX. The first is lower latency which should be kept enabled. The second is more experimental and can lower the offset from the radio by tuning it as close as possible to
0, but is experimental (even in 1.0) and is best left disabled.
Both require OpenTX
2.3.12 or above. To install it, you will have to use OpenTX companion application.
Deviation radio users such as those with the T8SGv2/v3 should disable this feature.
You can also use EdgeTX.
env:FrSky_TX_R9M_via_WiFi) 🖥️ and debugging via WebSocket 🔍. Uncommented by default, does not need to be changed.
HYBRID_SWITCHES_8changes this to 1x 2-pos + 6x 7-pos + 1x 16-pos, with only the 2-position being low-latency. In Normal Mode, all switches are sent with every packet, in Hybrid Mode, only AUX1 is sent with every packet and the rest are rotated through. Note: The switch mode MUST match between the RX and TX. A detailed explanation of the differences between the two options can be found in Switch Modes, but 1. If only two position switches are needed, and they must be updated as fast as possible: Normal Mode 2. Almost everyone: Hybrid Mode (Put ARM on AUX1)
Increase the telemetry rate with the ExpressLRS Lua script. Increase the rate until the sensor lost warnings go away. It is normal to set it up to 1:16 with 200 Hz refresh rate.
It must be enabled together with HYBRID_SWITCHES_8.
#DARM_CHANNELas AUX1 which is Channel 5).
NB This feature assumes that a low value of the arm switch is disarmed, and a high value is armed. If you have the arm switch reversed it will not work correctly and the link won't be established. For this reason, it may be best not to enable no sync on the arm when you are first setting up ExpressLRS as it can be a source of confusion.
LOCK_ON_50HZlocks the RX at
50Hzmode from the power-up. (Only recommended for long range, and partly redundant with the previous feature.) Merged in Pull 143