1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00
Commit graph

4883 commits

Author SHA1 Message Date
Bertrand Songis
8d8fef23c9 Bsongis/x7 bluetooth (#5068)
* Trainer Bluetooth support added
X7S board added (X7 has no bluetooth while X7S has)
X10 HAL updated

* Bluetooth Telemetry

* En fix
Add all languages

* Temporary test for @bsongis

* Missing translations
2017-08-12 00:49:54 +02:00
Arne Schwabe
51be7b000e Add support for R9M module (#5101)
* Implement R9M protocol according to PXX spec 1.7

Some of the things here are guesswork as I don’t have a R9M at hand. Also Companion support for the extra R9M options is not implemented yet.

* Fix build errors
2017-08-12 00:27:23 +02:00
Arne Schwabe
87295776ff Fix issue #4961 (#5009)
* Fix issue #4961

Fix yet another reference to HORUS_OR_TARANIS that should be IS_ARM
Also rename C9X function to export/import to be inline with the rest

* Another two IS_ARM/HORUS_TARANIS mixups

* Fix condition

* Simplify/fix two if statements

* Really fix if statement
2017-08-12 00:26:28 +02:00
Bertrand Songis
96f1a16744 Avoid repeat i.e. Telemetry Lost / Trainer Lost until prompts fifo is… (#5121)
* Avoid repeat i.e. Telemetry Lost / Trainer Lost until prompts fifo is full ...

* Rename functions

* Belt and braces
2017-08-09 11:59:13 +02:00
Bertrand Songis
541aa459cf Lua drawBitmap on X7 2017-08-04 12:08:10 +02:00
Kilrah
c82c7ee5db No serial debug on X7 2017-08-04 11:22:42 +02:00
Bertrand Songis
76e72c8a86 RssiPowerOff alarm enabled by default (#5129)
* RssiPowerOff alarm enabled by default
+ Companion support

* Fix continuously toggling RSSI on shutdown setting on X9
2017-08-04 11:01:52 +02:00
Bertrand Songis
6304f0daf6 Sleep bitmap on X7 (#5125) 2017-08-04 10:41:36 +02:00
Bertrand Songis
e00efb1566 Cosmetics 2017-08-03 21:50:26 +02:00
Bertrand Songis
258347fbd1 Warning fix 2017-08-01 17:04:20 +02:00
Bertrand Songis
7434e330c8 3djc/rssi poweroff safety (#5126)
Shutdown RSSI Alert
2017-08-01 14:13:25 +02:00
Arne Schwabe
a7524ba74d Fix clang warnings (#4988)
* Fix clang warnings

- signed char on AVR vs unsigned char on ARM
- use references instead of points in calculation (same code size)
- Ignore packed address warning for mavlink includes
- Turn error on packed addresses to warning for Horus (Cannot fix that without major refactoring, might even need eeprom change)

* Revert fixes for clang on AVR as the old AVR gcc does not like them
2017-07-30 09:59:15 +02:00
3djc
1e2f4d6c0c - Add 'quick' mode compatibility (#5099)
- Add compatibility with previous receiver firmware
- rename S6R to SxR to acknowledge S8R is supported too
2017-07-20 13:38:30 +02:00
Arne Schwabe
129bbe2198 Fix getcurve reporting 0 as first x value instead of -100 2017-07-07 23:44:23 +02:00
Arne Schwabe
1ae8e40a3f Fix setCurve not probably working for custom curves
ypoints used for x instead of xpoints
2017-07-01 01:55:31 +02:00
3djc
1c62b19f9f Fully adjustable splash timer on x7, matching x9 implementation (#5008)
* Fully adjustable splash timer on x7, matching x9 implementation

* Make splash adjustable for all ARM, and just check box for AVR
2017-06-28 22:10:40 +02:00
3djc
b7b7c48d8e x7/x9 GPS datetime fix (#5051)
* Fix x7 display in telemetry widget (only time is displayed)

* rename drawDate to a more specific name, since it is not generic
fix for x9

* Travis build fix

* Introduce time FONTSIZE_MASK macro

* Cosmetics based on Bertrand's last feedbacks
2017-06-28 20:28:57 +02:00
3djc
76ffd4fcb4 Do not display popup menu on last line (cpy trim -> sub for all chan) (#5061) 2017-06-28 13:22:37 +02:00
Arne Schwabe
9ad5094909 Display XJT version in analogs (#5039)
* Display XJT version

* On Horus too
2017-06-26 21:28:30 +02:00
3djc
0fd23d3e61 Fix COLORLCD compile for PT (#5063) 2017-06-26 18:05:53 +02:00
Andre Bernet
a587f8b825 Edge detection only on "Reset Flight", commit 6bc6e074e1 introduced unnecessary change in behavior for Reset Timer (fix #5036) 2017-06-25 17:40:54 +02:00
3djc
4c40aec8b3 x7/x9e startup review (#5033)
* Turn on X7 like it is done on X9

* 4 squares like shutdown + prep for firmware option to disable

* Compile option

* - rollback firmware option
- fast one second power on
- unchanged power off
- animation added for x7 power on
- animation for power off changed to 'removing' quarter instead of adding (ie the power on anim fills in, the power down fills out)

* Cosmetics

* Cosmetics
2017-06-18 20:55:49 +02:00
Bertrand Songis
97b2aa804d Crossfire parsing script updated 2017-06-17 09:12:13 +02:00
Arne Schwabe
8e07f9b0f4 Allow to disable telemetry alarams (#4981)
* Allow to disable telemetry alarams

This mainly useful for cheap transceivers that have telemetry but no power amplifier and very limited range of often 10-20 meters. This includes fishpepper's tinyFISH FC (and its legal/illegal clones) and also Spektrum BNF models.

* Always disable a warning when RSSI Warnings are disabled

* Compile fix

* Fix typos, also mute sensor lost

Refactor the FrskyRSSIAlarm[2] into a EEPROM compatible RssiAlarm struct

* Compile fixes

* Also refactor Companion

* Cleanup unused datastruct on ARM

* Compile fix for AVR

* Change int to uin8_t for avr

* Fix strings
2017-06-14 23:34:27 +02:00
3djc
656daa75fa Fix SDcard size and format issue (#5004)
* - fix overflow in SDcard size computation
- fix format function
- implement more informative format error handling

* Move to a function
2017-06-14 23:33:31 +02:00
3djc
547606b44e Cleanup unused (#5027) 2017-06-14 23:27:35 +02:00
3djc
15a29f3a43 Adjust audio for X9E hardware (#5028) 2017-06-14 23:27:02 +02:00
3djc
ab81838d87 Merge pull request #5020 from opentx/3djc/isSwitchAvailable-fix
Review isSwitchAvailable for correct context detection
2017-06-11 10:00:12 +02:00
3djc
854ce93c07 Missed indent 2017-06-11 09:36:14 +02:00
3djc
2a86918508 Add varioCenterSilent option to x7 and rework telem screen accordingly (#4923) 2017-06-10 23:34:33 +02:00
3djc
bae44d2812 Review handling is global function detection.
Fixes !sensor been selectable in global scripts

Thanks to @Max for his help
2017-06-09 09:47:34 +02:00
3djc
a4008a2550 Enable FAI Choice for Horus (#4994)
* Test a different approach

* Implement jump over

* Much better implementation (and fixing an existing bug on top of that :))
2017-06-03 12:08:12 +02:00
Andre Bernet
9e39dfa9d7 Fix #4997 2017-06-03 11:46:22 +02:00
Arne Schwabe
d609d37798 Ignore UNIX dotfiles (#4973)
* Ignore UNIX dotfiles

This has the advantage of hiding all the stupid .DS_STORE and ._foo.lua attributes files from Mac OS X

* Do not ignore ..
2017-06-02 16:37:35 +02:00
3djc
d0a57d4c47 Align Taranis 128*64 stats to its larger sister (#4985)
* Align Taranis 128*64 stats to it's larger sister

* Make it for all ARM
2017-06-02 16:37:12 +02:00
3djc
726b989f6c Horus Shadowed (#4979)
* Introduce SHADOWED and use it for BattCheck

* numbers too

* For drawTimer too

* Compilation fix
2017-06-02 16:36:27 +02:00
3djc
5f76e61240 Handle tinsize dot blinking (#4986) 2017-06-01 23:22:09 +02:00
Bertrand Songis
42d66bb2c1 Compilation fix (PCB=9X CURVES=NO HELI=NO TEMPLATES=YES) (#4983)
* Compilation fix (PCB=9X CURVES=NO HELI=NO TEMPLATES=YES)

* String length fixes
2017-06-01 23:21:47 +02:00
Chris Prinos
fe1146b62c drawComboBox luadoc fix
remove extraneous 'page' param
2017-05-31 21:17:46 -04:00
Andre Bernet
fbdcef3733 Release notes updated (a bit late) 2017-05-30 21:42:41 +02:00
Andre Bernet
a13c857b53 Release notes updated (a bit late) 2017-05-30 21:40:32 +02:00
Max Paperno
85863358fb [Horus] Outputs widget: Fix bar graph overflow with extended limits (#4969)
* [Horus][Widgets] Outputs widget: Fix bar graph overflow with extended limits (closes #4968); Show standard/translatable source names (CHxx) when no custom name is defined; More const-ness, less math.

* [OutputsWidget] Yet more const-ness and less calculation repetition.
2017-05-30 18:37:38 +02:00
3djc
b397af1bac Fix overflow when firmware filename is too long (#4971) 2017-05-30 18:36:36 +02:00
Max Paperno
0906bdc6d7 Adjust logical switch abbreviations. (#4965)
* [Companion] Change logical switch abbreviations to "LS##" in Source/Switch selection lists.

* [LogicalSwitchesPanel] Normalize LS name label.

* We had decided on "Lxx"

* Match firmware side

* ARM wasn't using the translations

* Update strhelpers.cpp
2017-05-30 18:36:04 +02:00
3djc
3d17023bc9 Fixes numbering discrepancy for Horus inputs (#4967)
Fixes #4966
2017-05-29 13:24:29 +02:00
Arne Schwabe
2ae0472f76 Minor fixes to lua dua 2017-05-28 09:48:34 +02:00
Arne Schwabe
cd23fedb56 Schwabe/lua set curve (#4955)
* Implement setCurve for lua

* Bug fixes after actual testing of API

* Fix documentation

* Even more error checking

* Add example code how to use this function

* Silence gcc warnings

* Drop points and start array index at 1 and note about wrong index in getCurve

* Add standard example

* Fixes

* Don’t use an invalid number in example

* fix missing 0
2017-05-28 07:30:43 +02:00
Arne Schwabe
4880c029b7 Schwabe/fix curve overflow (#4951)
* Fix curve editing function not checking if there is space for the curve

* Fix compile error
2017-05-24 18:42:56 +02:00
Arne Schwabe
01150497bb Schwabe/log sensors by default (#4932)
* Log telemetry sensors by default

* Renome now redundant logs = True code from Frsky
2017-05-19 17:19:43 +02:00
Andre Bernet
8eea072cd1 Don’t spam simulator with dummy values on telemetry reset anymore (#4933)
* Don’t spam simulator with dummy values on telemetry reset anymore, simulator can be used if needed

* Ditch more dummies
2017-05-18 07:11:48 +02:00