Nathan and Bertrand Songis
620094e358
remove src/radio/stamp.h from the gitignore list to make it make cmake idempotent ( #4530 )
2017-03-02 18:33:29 +01:00
3djc and Bertrand Songis
c9555e510c
Allow datestamp for ARM 128x64 model backups ( #4534 )
...
* Allow datestamp for x7 model backups
* Add ability to restore too
* Make this all 128x64 instead of x7 only
2017-03-02 18:32:24 +01:00
3djc and Bertrand Songis
b800642090
Add popup menu to Play value SF on X7 ( #4535 )
2017-03-02 18:30:37 +01:00
3djc and Bertrand Songis
f1b83e7295
Remove Heli choice from model wiz as we do not have one ( #4538 )
2017-03-02 18:29:36 +01:00
alteman and Bertrand Songis
26259f398d
Fix a regression that omitted filenames from allsrc.cpp ( #4531 )
2017-03-02 18:28:10 +01:00
Max Paperno and Andre Bernet
d8b4f8594d
[Companion] Smarter app settings import from old versions... ( #4485 )
...
* [Companion] Smarter app settings import from old versions; Do not import flash tool locations on Windows which are already included with Companion (closes #4330 ).
* [Companion] Exclude Windows installation-specific keys when importing settings from previous versions (truly fixes #2645 ).
2017-02-28 17:48:52 +01:00
3djc
865e04c9ec
Fix binaries names
2017-02-28 09:42:04 +01:00
Jim Taylor and Max Paperno
b75fa3b06f
Change text "not" to ! to fix VS15 Build Issue_4522 ( #4523 )
...
* Change text "not" to ! to fix VS15 Build (closes #4522 )
* Change !cb_fp[i]->checkState() to !cb_fp[i]->isChecked() per comments in PR
2017-02-27 18:14:32 -05:00
Bertrand Songis
9f3898ae1e
[9XR-PRO] Navigation issue in FlightModeOne screen
2017-02-27 14:04:44 +01:00
3djc and Bertrand Songis
4d847e6943
Fix FM screen on X7 ( #4515 )
...
* Fix 4513
* Fix 9XR-PRO (hopefully)
2017-02-27 13:51:19 +01:00
Bertrand Songis and GitHub
7bc557b4eb
Trainer code simplification ( #4519 )
2017-02-27 13:50:03 +01:00
Bertrand Songis
89e1dfeeff
[Warnings] Removed sRGB warnings raised by libpng
2017-02-27 13:49:35 +01:00
Bertrand Songis
99b01d396c
[Sky9x] skipHiddenLines broken on 128x64 LCD
2017-02-27 13:46:37 +01:00
Bertrand Songis
029e12860a
Cosmetics
2017-02-27 13:43:54 +01:00
Damjan Adamic
d7801f4a06
Lcd gtests added for Horus
2017-02-26 20:33:43 +01:00
Damjan Adamic
cc36f189f2
Re #4502 : Removed cache in Lua rotable search, tests have proven it does not speed up search significantly. Scripts that use some function a lot can use simple local variable to store pointer to the function - simpler and faster that cache.
2017-02-26 18:12:37 +01:00
Damjan Adamic
ca6a31016a
Re #4498 : Comment removed
2017-02-26 17:57:39 +01:00
Max Paperno and Bertrand Songis
171e08c2fd
[Companion][ModelEdit] Fix/improve module custom failsafe value settings ( fixes #4443 ): ( #4492 )
...
* Properly set limits based on model's Extended Limits setting;
* Fix rounding issues between percentile display and underlying value in μs;
* Add ability to display values in μs as well as percent.
* Channels numbering & count is responsive to module's defined start/end channels.
2017-02-26 13:00:49 +01:00
Damjan Adamic and Bertrand Songis
a1a58ad8f8
Lua: All usage of double converted to float ( #4502 )
...
* Lua: All usage of double converted to float. printf("%f") still uses promotion to double, (floating point va_args are always promoted to double)
Speed improvements:
* reordering of rotable to put most used tables at the top
* caching of last found global table
Use real pointer to rotable instead of misusing void* to pass integer value
Lua internal traces now turned on by TRACE_LUA_INTERNALS cmake option
* Replaced floating point division with multiplication (where possible), the hardware FPU is much faster at multiplication vs division.
stb_image: enabled STBI_NO_HDR and STBI_NO_LINEAR (removes code that we don't need)
2017-02-26 12:59:39 +01:00
Neil Horne and Bertrand Songis
3b149a22d1
Inputs and Mixes dialogs - add flight modes context menu to set, clear and invert all modes ( #4494 )
2017-02-26 12:51:06 +01:00
Damjan Adamic and Bertrand Songis
455fc1f79f
Proper skipping of hidden menu lines, old code accessed mstate_tab[] out of bounds ( #4491 )
2017-02-26 12:43:06 +01:00
Damjan Adamic and Bertrand Songis
7081f924de
Some memory leaks and out of bounds array access fixed ( #4498 )
2017-02-26 12:39:26 +01:00
3djc and Bertrand Songis
1910af51b6
Make lcd.clear() color aware on color screens ( #4504 )
...
* Make lcd.clear() color aware on color screens
* Compilation fix
2017-02-26 11:46:23 +01:00
Andre Bernet
86d897b23f
[Horus] Restore emergency mode priority over "no SD card" warning
2017-02-23 23:20:16 +01:00
Andre Bernet
b866baae65
[Horus] Restore emergency mode priority over "no SD card" warning
2017-02-23 23:04:09 +01:00
3djc and GitHub
0857e27665
Merge pull request #4497 from opentx/3djc/x7-trainer-fix
...
X7 fix
2017-02-22 23:40:25 +01:00
Damjan Adamic
2c99de86d0
RTC Year fix for simulators
2017-02-22 16:26:21 +01:00
3djc
f3e951e0fb
X7 fix
2017-02-22 15:19:17 +01:00
Max Paperno and Bertrand Songis
051a4638f3
[radio] Improve TRACE macro. ( #4484 )
2017-02-21 11:05:54 +01:00
Max Paperno and Bertrand Songis
b12bd7d7be
[Simulator] Add asynchronous FIFO buffer for handling debug output/display more efficiently. ( #4488 )
2017-02-21 11:04:53 +01:00
Bertrand Songis and GitHub
24c0f5008d
[X7] S.PORT devices update is now done on the bottom connector ( #4457 )
...
* [X7] S.PORT devices update is now done on the bottom connector
* [X7] I introduce a PCBREV option, as previous versions didn't have this S.PORT bottom connector
* [X7] Introduce a PCBREV PIN to avoid having different 2 different firmware on X7
* Compilation fix
* [X7] PCBREV PIN was inverted
* [X7] PULL DOWN on PCBREV PIN
* S.PORT bottom connector is powered by PB.02, not PB.01
* [X7] PCBREV resistor changed
* [X7] PCBREV resistor changed
2017-02-21 11:03:37 +01:00
Damjan Adamic and Bertrand Songis
2fbd1d8955
Re #4477 : All usage (except Lua) of double converted to float. printf("%f") still uses promotion to double, (floating point va_args are always promoted to double) ( #4483 )
2017-02-21 11:02:26 +01:00
Damjan Adamic and Bertrand Songis
f36d01d560
Fixes #4438 : wrong cast used when setting Lua mixer script input source ( #4470 )
...
* Fixes #4438 : wrong cast used when setting Lua mixer script input source
Improved parsing of Lua mixer script inputs
* Additional type check
* ScriptDataInput union introduced.
Fixed: when using SOURCE input, do not use default value
Fixed: when using SOURCE input, min-max range is fixed
2017-02-21 10:59:47 +01:00
Max Paperno
177acb95e5
[212x64] Fix channels display view with PPM_UNIT_PERCENT_PREC1.
2017-02-20 12:14:17 -05:00
Max Paperno
bb8dd1294f
[480x272] Fix extra channel showing up in custom failsafe settings menu. ( closes #4486 )
2017-02-20 03:41:40 -05:00
Max Paperno
a19748dba7
[Companion] Fix model being moved to wrong category after wizard run ( closes #4482 )
2017-02-19 18:38:15 -05:00
Max Paperno
ac9b781647
[build] Minor fixes for Windows and OS X.
2017-02-19 17:20:10 -05:00
3djc and Damjan Adamic
95668a2bcf
Fixes #4345 : Enable print (even for model idx 0) ( #4474 )
2017-02-19 09:33:37 +01:00
3djc
e4c3326c0a
isExtensionMatching is case insensitive, but not further checks, making those whole function case sensitive, which it should not
2017-02-18 11:00:13 +01:00
Damjan Adamic and Bertrand Songis
299c5924fa
Projectkk2glider/hardware floating point ( #4477 )
...
* Turn on compiler hardware floating point support for F4 targets
* Fixes, works on Horus
* Comment updated
2017-02-18 00:52:52 +01:00
Bertrand Songis and GitHub
3e84e7930c
Bsongis/9x fixes ( #4463 )
...
[9x] Fixes + make firmware target added
2017-02-17 17:11:38 +01:00
Arne Schwabe and Bertrand Songis
6106d1b228
Fix warnings with avr-gcc 6.2 ( #4471 )
2017-02-17 17:00:39 +01:00
Max Paperno
357ffd0b92
[Simulator] Debug console output listener now starts immediately upon creation; Fix debug console not printing last line in buffer; Shorten debug output print time by 2ms; Don't check buffer if not appending line; Report buffer overflow errors every 30s (if still needed).
2017-02-17 04:24:17 -05:00
Bertrand Songis and GitHub
25ea90817a
Added Coverity badge
...
Crossing the fingers :)
2017-02-16 13:58:37 +01:00
Damjan Adamic
0e97d30363
DebugOutput buffer increased and overflow message only printed once.
2017-02-16 10:22:01 +01:00
3djc and Bertrand Songis
aecd7d15f1
Fix companion wizard behavior for Horus ( #4467 )
...
* Fix wizard behavior for Horus (was treated like an 9X)
* Cosmetics
2017-02-16 09:19:34 +01:00
Damjan Adamic and Bertrand Songis
ee43d3fb97
Projectkk2glider/issue 4449 drawline ( #4464 )
...
* Gtest pattern changed
* Fixes #4449 : lcdDrawLine_line() was wrong for slanted lines [128x64]
* Fixes #4449 : lcdDrawLine_line() was wrong for slanted lines [480x272]
* lcdDrawLine() coordinates check moved to Lua API
2017-02-16 00:23:42 +01:00
Bertrand Songis and Damjan Adamic
53f55f8e1d
Fixes #4399 : problem getting/setting curve on output with Lua ( #4455 )
2017-02-15 21:25:08 +01:00
Bertrand Songis and Andre Bernet
27b1255584
[X9D/X9D+/X9E] Fixes #4334 ( #4451 )
2017-02-15 18:25:26 +01:00
Bertrand Songis and Andre Bernet
733cfb3218
Fixes #3865 ( #4456 )
2017-02-15 18:18:08 +01:00