* [X7D] Various fixes
[Others]
- Fixes the Mixer / Inputs MOVE / COPY problem on X9E
- Adds the copy/paste/rename feature in SDCARD menu on X7D/SKY9X
- Merges some duplicated code using the new directory structure
- Cosmetics
* Introduce f_gets()
* Comment out debug TRACE
* Windows editing protection
* Store strlen result + uncrustify
* Uncrustify was probably too harsh !
* Cosmetics
When crossfireTelemetryPush() or sportTelemetryPush() is called without arguments, it returns a boolean telling whether or not the output buffer is currently available.
This simplifies the LUA in case SPORT or Crossfire is used as a transport for bigger requests (like MSP/SPORT).
* Add constants for LUA telemetry
This commit added 896 bytes to flash size which is a significant size. An alternative would to just document the values in the lua telemetry function.
Shortening some of the UNIT names (e.g. UNIT_MW instead of UNIT_milliwatts) or shortening UNIT_ to U_ could save a few bytes but the
* #if 0 ... #endif constants
* horus has 2MB flash
* Models notes where overwritten before even having a chance to be displayed
* Models notes where overwritten before even having a chance to be displayed (reverted from commit 0834894b61ed527c3c65d6356793a08ff6e3be6a)
* Delay the checks until after the main menu is launched to avoid the model notes to be overwritten even before appearing
* Various fixes for gtests that were shown when running tests in random sequence. Enabled random gtests shuffling in commit tests.
* 9X gtests fixes
* more gtests fixes
* even more gtests fixes
* Another round of gtests fixes
* Code deduplication with test fixtures
* More fixtures
* Introduce 'magnetic 0' for trims
* Removing magnetic 0 that could feel unnatural to a force to 0 when changing side
* Efficiency
* Optimise
* Optimise (reverted from commit 41fc09f0bd37dd4c3067f7406562ab68c07b22ca)
* Bertrand's feedback incorporated
* Another one (bites the dust ?)
* Mark gtest variables cached
Set GTEST location variables as CACHE so they can be modified when gtest is in a different location from the cmake call (/usr/src, /usr/include is not writable on OS X)
* Uppercase location and write Google Test like Google does
* Make abs macro AVR specific. This fixes gcc >= 6.2 compile issues. Tested on gcc 6.2 and 4.9.2
* Since we are getting conflicting result, and only 4 byte diff, lets remove it altogether ! And yeah, there was that typo too ;)