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]".
REMOVED 3.0. Diversity is now a receiver option, changed via Lua for devices that support it in hardware.
DYNPOWER_THRESH_UP dBm from the sensitivity limit, the algorithm will increase the power output by one step. Similarly, if the RSSI is above
DYNPOWER_THRESH_DN from the sensitivity limit, the power will be decreased by one step.
REMOVED 3.0. The dynamic power algorithm uses SNR which is defined per-rate so the thresholds are more complicated than 2 defines.
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.
REMOVED 3.0. Replaced with "Race" telemetry mode, which also disables sending SYNC on arm.
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 T8SG v2/v3 should disable this feature.
You can also use EdgeTX.
REMOVED After 2.2.0. Sync packets were always sent regardless of if this was enabled, but the sync offset would just be wrong if it wasn't defined.
env:FrSky_TX_R9M_via_WiFi) 🖥️ and debugging via WebSocket 🔍. Uncommented by default, does not need to be changed.
REMOVED 2.0 development. Replaced with USE_TX_BACKPACK.
HYBRID_SWITCHES_8 changes 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)
REMOVED 2.0 development, all switch modes are available via Lua configuration. HYBRID_SWITCHES_8 is always enabled / available.
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.
REMOVED 2.0 development, ENABLE_TELEMETRY is always enabled. Advanced Telemetry will only be sent if telemetry messages are received from the FC.
REMOVED 1.0.0-RC9, this option is now always enabled and in turn, 25Hz has been dropped/removed.
REMOVED Somewhere in the 1.0.0-RC cycle. Feature removed.
REMOVED 1.0.0-RC2 initial sync replaced with a full FHSS period wait
#DARM_CHANNEL as 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.
REMOVED 1.0.0-RC1 AUX1 is always the arm switch now, no longer configurable
LOCK_ON_50HZ locks the RX at
50Hz mode from the power-up. (Only recommended for long range, and partly redundant with the previous feature.) Merged in Pull 143
REMOVED 1.0.0-RC1 not sure why this was removed