Bertrand Songis
60eca69bfe
Fixes #2961
2015-10-12 23:29:52 +02:00
Bertrand Songis
30f5b1b275
Fixes #2913
2015-10-11 12:50:10 +02:00
Bertrand Songis
10f5bd211b
Fixes compilation in 'next'
2015-09-14 20:12:22 +02:00
Andre Bernet
1d9e2b7ad0
Merge remote-tracking branch 'origin/bsongis/refactoring_putsSwitches'
2015-09-06 12:16:58 +02:00
Bertrand Songis
405d83b539
Compilation fix
2015-09-01 19:38:48 +02:00
Bertrand Songis
362e7c67db
Cosmetics
2015-09-01 19:35:30 +02:00
Bertrand Songis
29e2ce7bd1
Fixes #2754
2015-09-01 19:24:46 +02:00
Bertrand Songis
a985d021b6
Fixes #2754
2015-09-01 18:55:44 +02:00
Bertrand Songis
398d32821e
Refactoring putsSwitches
...
Will simplify things when we have 64 logical switches ...
2015-08-31 20:48:32 +02:00
Bertrand Songis
ef56bf3cb4
New type swsrc_t introduced
2015-08-28 14:47:07 +02:00
Andre Bernet
34f7c3a463
Fix #2787
2015-08-27 23:00:02 +02:00
Andre Bernet
433983e2ca
Should solve #2787 , but doesn't...
2015-08-27 21:05:41 +02:00
Damjan Adamic
537d7e089f
Fixes #2728 : edge switch could trigger right after the logicalSwitchesReset() was called
2015-08-18 20:03:54 +02:00
bsongis
18f28270f0
Fixes #2493
2015-07-18 22:52:15 +02:00
bsongis
17f465bff5
[Taranis X9E] Shutdown procedure modified (popup with confirmation
...
added)
2015-07-10 17:34:55 +02:00
Damjan Adamic
449829ea70
Switches warning: limited display to first 5 wrong switches
2015-07-09 22:46:13 +02:00
bsongis
9133558bed
[Taranis] I had a Pot warning on Pot3 even if configured as None
2015-07-09 22:30:40 +02:00
bsongis
19f5db6fe7
Fixes #2442
2015-07-08 19:42:18 +02:00
bsongis
9b7e913fbf
Fixes #2434
2015-07-08 00:19:29 +02:00
bsongis
5d2a04467c
Fixes #2368
2015-06-18 19:11:07 +02:00
Michał Wróbel
31820a0520
Fix switch warning false negatives occuring when splash screen is disabled ( #2220 )
2015-04-28 01:13:45 +02:00
Michał Wróbel
485edb579d
TELEMETRY_MOD=14051_SWAPPED
...
TELEMETRY_MOD=14051 (by gerardv @ forum.turnigy9xr.com) makes USART0 available
by reallocating AIL and THR onto pins 14 and 15 of the 14051 multiplexer.
TELEMETRY_MOD=14051_SWAPPED is based on TELEMETRY_MOD=14051, but uses USART1
instead of USART0, freeing USART0 for other purposes (debugging, interfacing
via AVRISP port). USART1 is freed up by reallocating LVert Trim Dn/Up onto
14051's 12 and 1 pins respectively.
Additionally, this commit cleans a few things up:
* moves AVR ADC-related code to adc_driver.cpp,
* provides #defines to have a convenient way to access either USART0 or USART1
registers depending on static (build-time) configuration
* moves code related to this telemetry mod to board_stock
* replaces a few magic numbers with enums.
Thanks to Bernard Songis for review and suggestions!
2015-04-25 14:25:34 +02:00
Andre Bernet
38452ca4d0
3pos mid pos delay only for 3pos switches
2015-04-20 20:52:51 +04:00
Andre Bernet
95be0729cf
Fix switch handling on X9E, cleanup/harmonize code for all revisions
2015-03-28 00:51:39 +04:00
bsongis
3063126d75
[Taranis X9E] Sliders configuration (LS2 and RS2 will be optional)
2015-03-10 19:20:16 +01:00
bsongis
0eeb0437db
[Taranis X9E] Pots and Switches full support. Removed 2x2 switches
...
feature
2015-03-09 18:51:14 +01:00
bsongis
bf0f4cae13
More flash savings when GUI=NO
2015-01-22 07:08:22 +01:00
bsongis
217a41e1d9
Fixes #1775 - Review and tests needed
2015-01-09 16:02:15 +01:00
Damjan Adamic
d6cc03bef6
Switches warning: limited display to first 6 wrong switches
...
getMovedSwitch(): was not working on 9XE (too many switches, uint64_t needed)
simu: mapped UP and DOWN keyboard keys
2014-12-27 15:41:03 +01:00
bsongis
62b64862d8
Fixes #1918
2014-12-16 21:15:06 +01:00
bsongis
d64989baac
All X9E switches now working
2014-11-27 23:09:14 +01:00
bsongis
06437b2954
Switches configuration + Switches/Pots/Sliders/Sticks custom names
2014-11-21 18:22:13 +01:00
bsongis
88d9691d16
Telemetry refactoring - Fixes #1634
2014-11-08 12:06:42 +01:00
bsongis
6195f5ecc1
Fixes #1646
2014-08-29 11:53:41 +02:00
bsongis
e620230e44
STAY replaced by EDGE in constants names
2014-08-28 21:03:15 +02:00
bsongis
c2166c8a67
Fixes #1646
2014-08-28 21:03:15 +02:00
bsongis
5907193571
Fixes #1543
2014-07-21 23:21:35 +02:00
Damjan Adamic
b4e816b784
Re #1443 - Reverting back d675ab1578 with some improvements:
...
* when telemetry is not streaming all logical switches that involve telemetry value evaluate to FALSE (same as before the change in above commit)
* the duration and delay processing is now enabled for such logical switches (new functionality that was not present before above commit)
2014-07-07 19:18:18 +02:00
Damjan Adamic
30a68cf170
Fixes #1440 - Logical switches state not reset after model load:
...
* logical switches reset not called anymore when user selects "Reset Flight", but only after model load
* logical switches reset now includes a reset of switches state (set to false)
2014-07-05 19:11:16 +02:00
Damjan Adamic
d675ab1578
Fixes a bug for case: telemetry values used in logical switches and they have a duration and/or delay set.
2014-07-03 20:50:31 +02:00
bsongis
2094e87da5
'phase' renamed to 'flight mode' everywhere in the code
2014-06-17 10:59:00 +02:00
bsongis
20125474c1
Fixes #1267
2014-06-17 10:59:00 +02:00
bsongis
9a83325119
Compilation error when GAUGES=NO
2014-06-12 15:59:54 +02:00
bsongis
e4d03b8c70
Fixes #1205 - Delay only applied to Play family function, with a
...
configurable delay, between 0 and 300ms (default is 150ms).
2014-06-10 16:19:44 +02:00
bsongis
bf9fc6dd98
The delay on switches was * 10
2014-06-07 20:27:00 +02:00
bsongis
93d6788605
Fixes #1200 - Needs tests!
2014-06-07 11:07:00 +02:00
bsongis
6511ae173d
Fixes #1191
2014-06-06 11:54:13 +02:00
bsongis
86a8e6a128
Fixes #1157
2014-06-05 12:05:53 +02:00
Andre Bernet
b593d871a6
Fixes #1175 (display part missing)
2014-06-04 10:37:19 +02:00
bsongis
d18c6c9985
Fixes #1175
2014-06-04 10:08:40 +02:00