Raphael Coeffic
a315f6702b
lua: allow telemetry buffer availability to be queried
...
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).
2016-11-09 16:17:54 +01:00
Andre Bernet
fd127e1ec2
Fix curve settings alignment ( Fix #4006 )
2016-11-09 09:36:50 +04:00
fraternl
80085cc76c
NL translations ( #4007 )
...
* Added translation for expected version and delete error
* Some more translations
* consolidated "Toon Trims" to 1 string
2016-11-09 08:59:31 +04:00
fraternl
a8940ede63
Added NL translation for expected version and delete error ( #4004 )
2016-11-08 18:56:16 +01:00
3djc
b06d14b4c7
Add bottom mixer status bar when editing mixer ( #4001 )
...
* Add bottom mixer status bar when editing mixer
* Cosmetics
2016-11-08 15:32:29 +04:00
3djc
189c49f725
Merge pull request #3936 from rcbebo82/rcbebo82/de_spoken_language
...
German spoken language fixed.
2016-11-08 11:38:51 +01:00
Arne Schwabe
345ea0f3e8
Add constants for LUA telemetry ( #3990 )
...
* 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
2016-11-06 18:29:10 +01:00
Bertrand Songis
3b3b528bbf
[Crossfire] Bind and OTA Rx firmware update now OK
2016-11-06 11:54:05 +01:00
Florent Martel
08148e2e33
Lua setTelemetryValue with optional params ( #3993 )
2016-11-05 13:16:56 +01:00
Bertrand Songis
19789c115c
[Lua] popupConfirmation function added
2016-11-05 12:47:48 +01:00
Benjamin Boy
a67135d139
Normal number 1 is spoken now as "eins" not "ein"!
...
All numbers should work now, anyone who can test the code?
2016-11-04 17:04:40 +01:00
Arne Schwabe
6b5d2039dc
Add firmware-size target to ARM
2016-11-04 12:46:58 +01:00
Benjamin Boy
3e952be074
Precison 1 now also works. Could anyone else check the code?
2016-11-04 11:42:15 +01:00
3djc
2fcab1e8c5
Fix column alignment between text/digits ( #3984 )
2016-11-03 22:07:03 +01:00
3djc
00b23a4210
3djc/fix #3777 ( #3986 )
...
* 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 0834894b61
)
* Delay the checks until after the main menu is launched to avoid the model notes to be overwritten even before appearing
2016-11-03 22:06:18 +01:00
Bertrand Songis
0318d63bf8
[X7D] Quick & dirty fix for special functions navigation which was broken
2016-11-03 22:01:30 +01:00
Bertrand Songis
f01f588ad2
[SKY9X/AR9X/X7D] Main timer badly displayed
2016-11-03 18:24:00 +01:00
Bertrand Songis
c52e9be3d5
[XFire] New function added to raise a warning popup
2016-11-02 22:13:45 +01:00
Damjan Adamic
d2144001d1
Various fixes for gtests that were shown when running tests in random… ( #3978 )
...
* 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
2016-11-02 22:03:44 +01:00
Arne Schwabe
dfc81cecad
Fix Atmel ARM Linker script for gcc 5.4.1 ( #3982 )
...
Copy .init and .fni section over from the STM32 linker scripts to make targets like AR9X buildable again. Tested by @sreichholf on a AR9X board
2016-11-02 16:20:49 +01:00
3djc
b22bd1f315
3djc/fix #3965 ( #3981 )
...
* 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 41fc09f0bd
)
* Bertrand's feedback incorporated
* Another one (bites the dust ?)
2016-11-02 13:33:02 +01:00
Bertrand Songis
45a8cd94e7
[Crossfire] Lua script continued
2016-11-02 13:31:50 +01:00
Arne Schwabe
a50d69c3b2
Mark gtest variables cached ( #3980 )
...
* 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
2016-11-02 13:05:13 +01:00
Damjan Adamic
5ba14734cb
Projectkk2glider/gps misc fixes ( #3970 )
...
* Fixed Lua GPS date (year is now kept with four digits)
* * GPS year displayed with two digits
* GPS date/time handling fixes
2016-11-02 13:03:26 +01:00
Damjan Adamic
a332f7a872
Fixes #3964 : Added free space check before putting new data into Lua … ( #3968 )
...
* Fixes #3964 : Added free space check before putting new data into Lua Telemetry Fifo
* Copy-paste error
* Compilation fix
* Another compilation fix
2016-11-02 12:56:43 +01:00
Florent Martel
450430f22e
Provide getRSSI lua method ( #3976 )
2016-11-02 12:53:07 +01:00
Bertrand Songis
0fe85834ab
[XFire] Crossfire parameters chunks support added
2016-11-02 12:50:17 +01:00
Arne Schwabe
54a9393588
Implement setting sensor values from LUA ( #3977 )
...
* Implement setting sensor values from LUA
* Fix name of lua sensors
2016-11-02 12:48:11 +01:00
3djc
2974af5018
Make abs macro AVR specific. This fixes gcc >= 6.2 compile issues. ( #3960 )
...
* 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 ;)
2016-11-02 11:10:03 +01:00
Bertrand Songis
c3f0b01307
[XFire] Telemetry parser script updated
2016-11-02 09:19:14 +01:00
Andre Bernet
8a9f541753
Merge pull request #3974 from craftandtheory/frsky_definescleanup
...
Simple cleanup of #if defined
2016-11-01 15:28:20 +04:00
floaledm
74df9778bb
Simple cleanup of #if defined
2016-11-01 04:56:58 -05:00
Andre Bernet
8408c1017d
Merge pull request #3971 from opentx/schwabe/show_commit_on_radio
...
Display commit on radio
2016-11-01 09:55:15 +04:00
Arne Schwabe
bbcd5c9336
Explicilty set CMP0042 to NEW, which is the default anyway, to silence cmake warning on OS X
2016-11-01 01:19:42 +01:00
Arne Schwabe
798f5e6826
Display commit on radio
...
This makes it easier to diagnose which exact version is on a radio when dealing with build from source version
2016-10-31 21:32:15 +01:00
Damjan Adamic
ff2fdacfb2
Fixes #3872 : Companion export to Google Earth now converts feet to meters if GPS altitude is logged in feet.
2016-10-31 11:58:35 +01:00
Damjan Adamic
258b8adfb9
Fixes #3912 : Deleting file in SD manager updates the list wrongly (Horus)
2016-10-31 11:07:44 +01:00
Damjan Adamic
c043c377a7
Fixes #3935 : overlapping display of EDGE logical switch parameters (Horus)
2016-10-30 16:50:50 +01:00
Damjan Adamic
37ea272bd4
Replaced all 1900 with TM_YEAR_BASE
2016-10-30 11:35:12 +01:00
Andre Bernet
6378c97b33
Companion works on WinXP again
2016-10-30 12:05:57 +04:00
Damjan Adamic
024b07a384
Incorrect unit was used for UNIT_CELLS in SD Logs
2016-10-29 21:28:04 +02:00
Damjan Adamic
88f8ea0e14
Merge pull request #3959 from opentx/schwabe/fix_clang_warnings2
...
Schwabe/fix clang warnings2
2016-10-27 20:21:03 +02:00
Bertrand Songis
8626c0728c
[Companion] Fixes #3858 ( #3958 )
2016-10-27 20:12:45 +02:00
Arne Schwabe
1a9a23c420
Completely remove verify macro in favour of static_assert
2016-10-27 15:08:10 +02:00
Arne Schwabe
ae01156598
Use static_assert instead of using homegrown macro
2016-10-27 14:59:01 +02:00
Arne Schwabe
2e65e745ee
- Remove warnings about deprecated QStyleOptionView by using unversioned version
...
- Fix warning about converting strings.
2016-10-27 14:53:24 +02:00
Arne Schwabe
0b0059908c
Abort cmake if leftover files of 2.1 are found ( #3955 )
...
This is becoming a FAQ. File selection might not be perfect but is good enough to trigger the error.
2016-10-26 20:36:58 +02:00
Arne Schwabe
92dde79dec
New protocol and telemetry: FlySky AFHDS2A ( #3948 )
...
* New protocol for multimode FlySky AFHDS2A
* Also add AFHDS2A protocol to companion
* fix compile error
2016-10-25 22:51:34 +02:00
3djc
d218b33609
Merge pull request #3950 from opentx/3djc/Horus-enable-perm-scripts
...
3djc/horus enable perm scripts
2016-10-24 09:04:15 +02:00
Damjan Adamic
0eba5c4c9c
Added missing audio volume initialization (caused by ed07dd76ef
)
2016-10-23 21:00:47 +02:00