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

58 commits

Author SHA1 Message Date
WismyYao
3eda7d1a20 Add custom mixer 2022-09-01 16:42:35 +08:00
Bertrand Songis
2670b3121d FrSky Single stick radio 2017-05-24 09:38:52 +02:00
3djc
3a8f9adb4d Enable set binding mode as a firmware option for frsky radios (#4743)
* Enable set binding mode as a firmware option for frsky radios

* Improvements based on Bertrand's comments

* Last feedbacks
2017-04-06 22:36:10 +02:00
Damjan Adamic
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
Bertrand Songis
40ece81de2 X10 (#4377)
[X10] New radio supported!
2017-02-04 10:42:50 +01:00
Arne Schwabe
5790b36589 Check X7 epprom sizes (#4364)
Since X7 is released now, we should not modify its data struct sizes anymore

X7 is too different from Taranis/sky9x to merge it into one of the other blocks
2017-02-01 16:36:13 +01:00
Andre Bernet
be0ef50195 Fix Horus haptic import without code complexification. Will reset people's haptic mode setting on Horus, but we can afford it. 2017-01-22 17:24:58 +01:00
Andre Bernet
7990973b35 Revert "Fix Horus haptic mode (#4224)"
This reverts commit 9bbc595eb1.
2017-01-22 17:20:28 +01:00
Andre Bernet
9bbc595eb1 Fix Horus haptic mode (#4224) 2017-01-22 13:19:20 +01:00
Damjan Adamic
659f9e0556 Fixed a problem with MSVC 2017-01-02 22:36:46 +01:00
Damjan Adamic
803dc7d853 Projectkk2glider/issue 4138 and other fixes (#4182)
* Fixed Companion translations cmake target

* Some translations had problems with string termination (missing or excessive " characters)

* Fixes #4138: Use [RTN] instead of [EXIT] on Horus

* Define spare bits if BUZZER is not defined
2017-01-02 11:31:55 +01:00
Bertrand Songis
82d6b96f8b X7D renamed to X7 2016-12-12 07:39:51 +01:00
Bertrand Songis
510e2ea450 [Companion] Horus support missing the top bar and current view 2016-11-27 20:11:36 +01:00
Bertrand Songis
ee1f6e5bdc [Companion] It's now possible to create an empty Horus storage and simulate it (only the 1st model) 2016-11-27 14:47:01 +01:00
Bertrand Songis
8854cf9e87 [Companion] Horus models export for simulation now OK 2016-11-27 00:45:24 +01:00
Bertrand Songis
9590b5f00e [Companion] Horus support. Now the GVars and Telemetry sensors 2016-11-23 16:40:46 +01:00
Damjan Adamic
b95eaa147f Struct size checks adjusted for PCBSKY9X 2016-11-16 21:31:40 +01:00
Andre Bernet
978867d509 Merge branch 'next' into schwabe/spektrum_dsm2_bind
# Conflicts:
#	radio/src/translations/de.h.txt
2016-10-21 19:36:31 +02:00
Bertrand Songis
71bb6de3dd [X7D] Rotary encoder initialization 2016-10-20 18:54:51 +02:00
Arne Schwabe
543a1d14e8 Port all Multi changes also to 9X and Horus UI 2016-10-16 22:24:36 +02:00
Arne Schwabe
278e71d6f9 Fix the custom protocol logic for multi
There parts that were not handling custom vs non custom right
2016-10-16 22:24:18 +02:00
Arne Schwabe
c055e93247 Rework DSM2/X support, auto protocol selection for DSM2
Support more than 31 protocols for the multi module. Breaks existing multi eeproms, need to reselect protocols
2016-10-16 22:17:38 +02:00
Arne Schwabe
c16317609f [Horus] Give pxx its own substruct instead of using ppm (cosmetics) 2016-09-05 15:57:27 +02:00
Bertrand Songis
04651784b5 [X9D+] S3 not available if disabled in HARDWARE menu 2016-09-04 20:05:51 +02:00
Bertrand Songis
4e576efdd7 [Horus] Pots / Sliders default config was wrong. Is it better? 2016-08-31 19:48:17 +02:00
Bertrand Songis
d3ae3c035d Bsongis/gui refactoring for x7 d (#3701)
* [X7D] New board added
* Cosmetics
2016-08-18 11:49:16 +02:00
3djc
52435703a0 3djc/telem rename (#3678)
* Rename EXT option to TELEMETRY

* Change test accordingly

* Rename FRSKY to TELEMETRY_FRSKY

* Rename ARDUPILOT to TELEMETRY_ARDUPILOT

* More renames (JETI, MAVLINK, NMEA)

* Fixes to make commit-test happy

* Further tests added to commit-test

* Cleanup

* Rename EXTSTD to TELEMETRY_NONE
2016-08-02 21:53:25 +02:00
Bertrand Songis
51223a5864 No more REV9E and REVPLUS 2016-07-29 14:44:59 +02:00
Bertrand Songis
83cdd67e6a Bsongis/move everything (#3669)
* Directories moved

* Directories moved

* Directories moved

* Directories moved

* Directories moved

* rename horus directories in gui to 480x272

* Directories moved

* Rename taranis to 212x64

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Fix x9e compile

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Directories moved - TARANIS target removed, it's now X9E / X9D+ / X9D

* Minor improvement of path handling

* Another bunch of files renamed :)

* Another bunch of files renamed :)

* Another bunch of files renamed :)

* Another bunch of files renamed :)

* Another bunch of files renamed :)

* Rename 9x to 128x64

* Compilation fixes

* Compilation fixes

* Compilation fixes

* Compilation fixes

* Compilation fixes

* Compilation fixes
2016-07-29 12:47:20 +02:00
Bertrand Songis
0ad015f3e7 Cosmetics 2016-07-23 19:28:30 +02:00
Bertrand Songis
5f03924b5f Compilation error fixed 2016-06-30 22:44:16 +02:00
Bertrand Songis
4cc49d0d30 [Horus] Mouse analogs now OK 2016-06-25 18:16:05 +02:00
Bertrand Songis
e64464ff9b [VC++] Compilation fixes 2016-06-21 20:25:17 +02:00
Bertrand Songis
1f87920fe4 Compilation fix 2016-06-11 18:40:45 +02:00
Bertrand Songis
c5096ff531 Main view index now stored in model settings instead of radio settings 2016-06-11 18:09:18 +02:00
Bertrand Songis
404c5a8553 [Taranis] Trainer / Trainee again OK. Not tested on Horus 2016-06-08 20:26:30 +02:00
Bertrand Songis
5f65217124 [MEGA2560] Add KS108 lcd + voice + "far" splash for firmware > 64Kb (#3515) 2016-05-25 21:21:51 +02:00
Bertrand Songis
7908eaa406 [All] Code refactoring
- keys beep and haptic refactoring (not anymore audio events)
- trims move/mid/min/max refactoring (trim end splitted to trim min / trim max)
- S6R new alarms
- S6R servos/rx status displayed as a text (not an integer which has no sense)
- Timer countdown configuration
- The splash was not displayed (but the timeout was there) after the first calibration
2016-05-13 14:41:48 +02:00
Bertrand Songis
afce17443f Fixes #3456 2016-05-02 22:46:06 +02:00
Damjan Adamic
97cc58e323 Projectkk2glider/issue 3432 jitter filter option (#3452)
* Fixes #3432: radio option added to turn on/off ADC jitter filter (ported from master)

* Gtests fix

* Re #3432: compilation fix

* Re #3432: existing field split to accommodate the new option without the RadioData size change
2016-05-02 19:26:08 +02:00
Bertrand Songis
9e0a26c51c [AVR] ModelData size check removed as it's more complex (depending on GVARS and EXT options) 2016-04-10 12:45:49 +02:00
Bertrand Songis
30e2d52f76 [Horus] EEPROM structs size changed between the 2 pull requests 2016-04-10 11:41:32 +02:00
Bertrand Songis
2acf6aed3b Merge pull request #3401 from opentx/schwabe/check_struct_sizes
check struct sizes
2016-04-10 10:48:07 +02:00
Andre Bernet
64a3c21c4e Merge branch 'next' into kilrah/extratrims 2016-04-08 10:46:34 +04:00
Andre Bernet
18f56075a5 Avoid EEPROM change by recovering some unused bits 2016-04-07 15:28:28 +04:00
Andre Bernet
30018b2432 Backlight control added back in, driver fix (thanks Adela), OFF level configurable 2016-04-06 16:06:36 +04:00
Arne Schwabe
bb21c20b21 Check sizes of eeprom struct sizes at compile time
Changing the size of a struct by accident lead to random the wrong data from the eeprom and can screw the eeprom up pretty bad. Better bail out if the eeprom size changes and let the developer make that an intentional choice. The template magic is there to print out the actual and expected size:

/Users/arne/oss/opentx/radio/src/datastructs.h:1045:3: error: static_assert failed "struct size changed"
  static_assert(expectedSize == realSize, "struct size changed");
  ^             ~~~~~~~~~~~~~~~~~~~~~~~~
/Users/arne/oss/opentx/radio/src/datastructs.h:1181:3: note: in instantiation of function template specialization 'check_size<TrainerData, 168, 16>' requested here
  CHKSIZE(TrainerData, 168);
2016-04-04 10:20:58 +02:00
Andre Bernet
1f6a711d24 [Horus] Extra trims added (#3393) 2016-04-02 16:45:43 +04:00
Andre Bernet
9615c98103 Fix merge 2016-04-02 09:57:46 +04:00
Arne Schwabe
c09c3e0a2b Do not backup the multi module struct 2016-03-29 21:41:15 +02:00