Commit Graph
4582 Commits
Author SHA1 Message Date
Kilrah ada0712e1a French translations 2017-12-09 11:53:35 +01:00
Max PapernoandBertrand Songis dec630efa0 [X9] Allow LSs 33-64 in main view & fix X9E view of channels 17-32 (#5486)
* [212x64] Main view toggle LS groups 1-32 and 33-64 with +/-/encoder. Closes #5476

* [212x64] Also allow encoder events in channels view for switching channels range (fix for X9E).

* Pad LS range numerals to 2 digits.
2017-12-09 10:20:07 +01:00
3djcandBertrand Songis 8e5027dcb2 Better support for R9M EU (#5487)
* POC for X9, requires -DBINDING_OPTIONS=YES

* There are apparently 4 valid choices

* - make BINDING_OPTIONS part of standard code
- adapt R9M EU LBT dialog to choice on bind

* - remove option from Companion
- cosmetics

* Compilation fixes
2017-12-09 10:17:56 +01:00
3djc f489742c9e Fix German compilation 2017-12-09 09:23:54 +01:00
3djcandBertrand Songis 12ad7b0d9c Reorganize ana display for X7 (#5482) 2017-12-08 11:27:37 +01:00
Bertrand SongisandGitHub a6044a684d Bsongis/r9 m fixes (#5406)
R9M support
2017-12-08 11:26:46 +01:00
3djcandBertrand Songis 81dbebb663 Show multi failsafe to x7 UI (#5471)
* Show multi failsafe to x7 UI

* Cosmetics

* Fix also horus ui and remove useless ifs
2017-12-07 18:49:55 +01:00
Arne SchwabeandBertrand Songis afd3103506 Update multi protocols (#5461)
* Update multi protocols

* SFHSS also has failsafe implemented

* Show failsafe setting in Companion

* Fix missing protocol names

* Update failsafe format and only show bind when module reports to support it
2017-12-07 18:48:10 +01:00
Raphael CoefficandBertrand Songis 8b34c96a2d fixed switch direction in X10 simulator (#5472) 2017-12-07 18:41:49 +01:00
Alexander NovikovandBertrand Songis 23eeccec9c Ru tts (#5456)
Russian TTS
2017-12-05 20:02:10 +01:00
Arne SchwabeandBertrand Songis 6bc02fd838 Add sane defaults for X10/X12. Also set battery warnings when creating general settings in simulator/companion (#5465) 2017-12-04 21:17:02 +01:00
Max PapernoandBertrand Songis ba1073ace6 [Lua] Allow global functions to play scripts. (#5440) 2017-11-30 19:10:11 +01:00
3djcandBertrand Songis 13f364d96a Add American time format to lua getDateTime() (#5431)
Add American time format to lua getDateTime()
2017-11-29 09:18:50 +01:00
3djcandBertrand Songis 779b39e237 Use X10 picture during X10 calibration (#5435)
* Use X10 picture during X10 calibration

* Scale down radio picture a little

* last x10 change requires a sd version bump

* Differentiate X10 and X10S
2017-11-29 09:17:33 +01:00
Bertrand SongisandGitHub 478411bf82 [Sonar] Condition always evaluated to false 2017-11-24 09:27:45 +01:00
Damjan AdamicandBertrand Songis 49a63d43b3 Fix some bugs found by Sonar (#5392)
* Fix some bugs found by Sonar

* Different syntax for NOSONAR

* Switch Sonar badge to proper branch
2017-11-23 23:28:36 +01:00
3djcandBertrand Songis 462e5f05e6 Also play model name on model changes (#5416)
Fixes #5414
2017-11-23 23:25:38 +01:00
Bertrand SongisandGitHub 58df785d70 Revert ... 2017-11-23 14:25:13 +01:00
Bertrand SongisandGitHub 4c0526ce0c Sonar fix - test
use `[[fallthrough]];` instead of `// no break`
2017-11-23 13:59:03 +01:00
Andre BernetandBertrand Songis 8662de39f5 USB modes cleanup (#5396)
* USB modes cleanup

* Forgot a couple

* Exclude joystick code from bootloader
2017-11-22 10:41:19 +01:00
Max Paperno 1634d81e4a Fix brackets in MEGA2560 isBacklightEnabled() macro (caused comparison warning in simpgmspace.cpp). 2017-11-21 13:21:00 -05:00
Max Paperno 9c74cc215c Fix gvars build error on libsimulator for PCBSTD. 2017-11-21 11:54:55 -05:00
Andre BernetandBertrand Songis 39ea315c97 Fix X10 power loop (fix #5270) (#5391)
* Fix X10 power loop (fix #5270)

* "EMERGENCY MODE" text wasn't visible anymore since d4a00dec3b
2017-11-21 07:25:38 +01:00
3djcandBertrand Songis 6fc40cb7cb Move to simple menu to prevent the need for dual RTN when scroll wheel is used (#5390) 2017-11-20 19:04:02 +01:00
Kilrah 0658b2a2c4 UI speedup 2017-11-20 12:47:32 +01:00
3djcandBertrand Songis d13fb8918f - X7S option removed (#5388)
- runtime detection of bluetooth chip
2017-11-19 23:49:38 +01:00
Max PapernoandBertrand Songis 7759403f3e [Simulator] Quick fix for showing gvars with precision and unit in Radio Outputs view (fixes #5360). (#5384) 2017-11-19 11:21:20 +01:00
Kilrah 18aa849cc7 Trainer detect on X10 is inverted compared to X12 (fix #5378) 2017-11-19 10:54:33 +01:00
Andre BernetandBertrand Songis 7f4daf3f5b Lua themes with no options wouldn't load anymore (got broken in b4939… (#5351)
* Lua themes with no options wouldn't load anymore (got broken in b493973d7d)

* Keep protection

* Changes according to PR comments
2017-11-18 11:59:59 +01:00
Raphael CoefficandBertrand Songis d4a00dec3b small cosmetic colour changes (#5367)
Small cosmetic colour changes

This allows the RSSI/Tx-Battery/Volume display to be displayed with the proper background colour when changing the main theme colour. Also puts the background colour at some use, as I could not see it used anywhere.
2017-11-18 11:23:34 +01:00
3djc 2e14773f1a Make stat bottom bar text more V centered 2017-11-16 10:35:16 +01:00
Arne Schwabe 37b7b25208 Use IS_PXX instead of IS_XJT for failsafe, closes #5373 2017-11-15 22:19:47 +01:00
3djcandAndre Bernet 7e29932072 Shift 3rd column a bit right (#5364) 2017-11-15 09:52:09 +01:00
3djc df91e93034 Tiny cosmetic 2017-11-14 10:37:02 +01:00
Bertrand SongisandGitHub 57d53abd6e Fixes #5300 (#5353) 2017-11-13 22:18:07 +01:00
Bertrand SongisandGitHub e5b2b8ef64 Bsongis/issue 5311 (#5354)
Fixes #5311
2017-11-13 22:17:13 +01:00
Arne Schwabe 2d6962d937 Also fix compiler warning on sky9x 2017-11-13 10:52:33 +01:00
Arne Schwabe d8210b832f Fix multi build on Sky9X 2017-11-13 10:42:25 +01:00
Kilrah 7f05df2627 Only apply theme option changes when exiting edit mode for color type options (fix #3799) 2017-11-13 00:17:35 +01:00
Bertrand SongisandGitHub 9d7dab724b Bsongis/issue 5338 (#5344)
Fixes #5338
2017-11-12 14:15:19 +01:00
3djcandBertrand Songis b8b67ba864 Push model name audio after hello (#5350) 2017-11-12 14:07:26 +01:00
Bertrand SongisandGitHub f6309138f6 Fixes #5312 (#5345) 2017-11-11 22:20:05 +01:00
Damjan AdamicandBertrand Songis f0f3e35bf6 Lua memory (de)allocation tracer: (#5191)
* Lua memory (de)allocation tracer:

Usage:
 * turn on: `cmake -DLUA=YES -DLUA_ALLOCATOR_TRACER=YES -DDEBUG=YES -DNANO=NO`
 * get debug output and make plot data: `./simu 2>&1 | grep "^LT" | ../radio/util/lua_trace2plot.py > data.plot`
 * plot: `gnuplot  -e 'set xtics rotate;  plot "data.plot" using 2:xtic(1) ; pause mouse close'`

* Changes based on Bertrand comments
2017-11-11 09:41:05 +01:00
Arne SchwabeandBertrand Songis 613b2edf49 Multi improvements (#5322)
* implementing syncing with multi

* Send config command

* Implement setting failsafe for multimodule

* Fix

* Fix last bugs. Multi sync now working as expected.

* Add eww multi protocol
2017-11-11 08:57:04 +01:00
Damjan AdamicandAndre Bernet 955d5775cb Add Lua getUsage() function that returns percent of already used up i… (#5313)
* Add Lua getUsage() function that returns percent of already used up instructions in current script execution cycle. It can be used to avoid script being killed when doing long lasting tasks (like telemetry logs loading and parsing)

* Compilation fixes

* Doc fix

* Disable Lua script instructions limit in DEBUG mode
2017-11-10 17:23:37 +01:00
Damjan AdamicandAndre Bernet 6c7e4b5597 Debug Timers: add 10ms period measurement, delete unused timer debugT… (#5319)
* Debug Timers: add 10ms period measurement, delete unused timer debugTimerPerMainPeriod

* Typo in drawSplash() if MENUS_LOCK == 1
2017-11-10 17:23:09 +01:00
3djcandAndre Bernet ff8f4a3a92 Reassigns stats icon to better match actual screen content (#5339) 2017-11-10 17:22:32 +01:00
Arne SchwabeandAndre Bernet 2e248e7bc0 Do double pythrogoras if altitude is involved (fixes #5280) (#5341) 2017-11-10 16:41:52 +01:00
Arne Schwabe f9d5201b0c Only set telemetry to streaming when receiving rssi from RX on crossfire (closes #5340) 2017-11-10 10:48:57 +01:00
Kilrah 761b0e0cfa Simu compilation fix 2017-11-08 22:01:35 +01:00