- added MSP_EEPROM_WRITE after value upload.
- added timeout for saving (1.5s) + second retry.
- invalidate pages on telemetry lost.
- do not write values in LUA if reply set is empty.
- reset state on invalidatePages()
- removed “(…)” after the page title when loading.
First draft version of the PID configuration script. Please note that this script needs to be copied into /SCRIPTS/TELEMETRY/ on the SD card and renamed to something smaller than 6 characters (OpenTX does not support more for telemetry scripts).
Usage:
- long press “Menu” to get save/reload functions.
- press short “Menu” to switch pages.
- press “+”/“-“ to navigate through fields.
- press “enter” to edit a field.
implements #1311
modified debug output (currently disabled)
To solve problem as indicated here:
https://github.com/cleanflight/cleanflight/issues/1266#issuecomment-135640133
and here:
https://github.com/cleanflight/cleanflight/pull/1340
and here:
https://github.com/cleanflight/cleanflight/pull/1342
Tested on FrSKY X4RSB with latest CPPM firmware (non-EU version).
Firmware filename: X4R-X4RSB_cppm_non-EU_150630
In both SBUS and CPPM mode.
---
Added delay to rxfail detection
All channels are monitored for bad (out of valid range) pulses.
On bad pulses channel data will HOLD the last value for a period of
MAX_INVALID_PULS_TIME (300ms) before starting rxfail substitution.
This should prevent a too aggressive reaction to small dropouts.
---
Init ARM switch rc channel to OFF for safety
Initialize ARM switch to OFF position when arming via switch is defined.
To prevent arming during init when RX is disconnected and/or when RX is
connected but TX is still off.
---
Modified rx_rx_unittest.cc
Adapted because rxInit() parameters changed.
Added tests for ARM switch initialization.
No further tests added.
---
Move smoothing of rcData to rcCommand
Commit from @borisbstyle pr #1418
rc_smoothing function has changed to leave rcData unchanged in #1418