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

26 commits

Author SHA1 Message Date
Arne Schwabe
06217c71a4 Implement a constant calculated telemetry source (closes #3579) 2016-06-13 00:50:50 +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
Arne Schwabe
119e413a6d Multi module support for Taranis
Reuse some of the DSM2 routines to avoid code duplication.

This first version only implements the protocol on the Taranis. (and not

Telemetry code is currently untested and will not work (Polarity mismatch). The main protocols to use telemetry are FrSky protocols and not a high priority on the Taranis.

Patch v3: Fix myeeprom.h, include option value in menu.
Patch v4: Fix identing, name substructs of modeldata
2016-03-29 21:41:14 +02:00
Arne Schwabe
c788ad6add Move ppm related options into own struct
This allows to have the ppm related options in a union with a other module protocol specific options for the multi module.
2016-03-29 21:41:14 +02:00
Arne Schwabe
86076bbf32 Also backup members inside unions,
the code is a bit more complicated since unions can have structs or simple types. Also change Telemetry sensor to be a struct, since a class with all public is identical to a struct in C++
2016-03-29 16:05:32 +02:00
Bertrand Songis
44d4e93ad1 [Taranis] EEPROM savings 2016-03-11 18:22:16 +01:00
Bertrand Songis
863272bc52 MSVC errors 2016-03-05 08:59:28 +01:00
Bertrand Songis
15912854e8 Warnings removed 2016-03-05 08:53:16 +01:00
Bertrand Songis
4104efbb17 Compilation fix 2016-03-05 08:07:04 +01:00
Bertrand Songis
55f71f053b myeeprom.h splitted into dataconstants.h and datastructs.h 2016-03-04 23:54:35 +01:00