Commit Graph
6640 Commits
Author SHA1 Message Date
Damjan Adamic 0180e3b90d Gtests problems 2014-05-18 18:22:56 +02:00
Damjan Adamic 9dcaccc87f Cosmetics 2014-05-18 18:09:23 +02:00
Damjan Adamic e14734c8af Reduced number of logical switch context to 2. Now we have only active fm context (lswFM[0]) and other context that is used for all other fms (lswFm[1]).
Much smaller RAM usage, but possible (I beleave unimportant) errors when trasitioning between more than two flight modes.
2014-05-18 18:08:41 +02:00
Damjan Adamic fbb1b65fd6 Delay and Duration using 1 x uint8_t instead of 2 x uint32_t.
Timing for delay and duration is not as accurate as before, max error possible is +-100ms.

Worst case example: duration set at 0.1s will produce output pulse of width between 10ms (min mixer loop  time) and 200ms.

But RAM saving is BIG, unfortunately only on ARM.
2014-05-18 16:47:15 +02:00
Damjan Adamic d6a150738c Cosmetics 2014-05-17 19:56:00 +02:00
Damjan Adamic 1491d3b236 Renamed lswReset() to logicalSwitchesReset()
Added PACKED to logical switches data structures
2014-05-17 19:38:23 +02:00
Damjan Adamic 8ec706ad08 Bugfix 2014-05-17 19:35:34 +02:00
Damjan Adamic c0c824c0f4 Cosmetics 2014-05-17 19:34:53 +02:00
Damjan Adamic 8cba5f9c02 gtest correction needed because of changed order of logical swithces calculation 2014-05-17 18:31:15 +02:00
Damjan Adamic d32b869582 CRLF 2014-05-17 18:23:36 +02:00
Damjan Adamic 07a5333a08 Fixes #1039:
* order of logical switches calculaton now predicable: always from L1 to L64
* each flight mode has its own logical switches context (RAM usage multiplied by number of flight modes)
* resolved problem of non-reentrancy of getSwitch() function
2014-05-17 17:51:33 +02:00
Damjan Adamic 6e5f064c31 One more rename 2014-05-17 17:06:29 +02:00
Damjan Adamic c2031934e0 Reenabled missing #if 2014-05-17 16:20:08 +02:00
Damjan Adamic 34e1a0ce86 All references to "custom switches" renamed to "logical switches" 2014-05-17 15:29:31 +02:00
Damjan Adamic 8c21462f74 More switches code moved to switches.cpp 2014-05-17 15:29:31 +02:00
bsongis 128956dbab Google tests compilation failure 2014-05-17 08:04:49 +02:00
bsongis 6c17fee19b Fixes #1107 2014-05-17 07:52:31 +02:00
mhotar 0a53e2e6b3 wizard images #992 2014-05-16 23:50:13 +02:00
bsongis ef15ccf321 Companion bugfixes 2014-05-16 23:02:31 +02:00
bsongis 96ddda7bef Bugfixes 2014-05-16 22:33:00 +02:00
bsongis 5bfe5d9cf6 Display problem with [ in SD Manager 2014-05-16 22:32:13 +02:00
bsongis 4f0e4feadd Cosmetics 2014-05-16 21:17:54 +02:00
bsongis 4048d65724 Warning removed 2014-05-16 18:10:39 +02:00
bsongis 5c880e47cd TrainerMode not needed on sky9x boards 2014-05-16 18:08:32 +02:00
bsongis e4346e70cd Checklist available on all ARM boards 2014-05-16 17:30:54 +02:00
bsongis 487cd04030 Cosmetics (one TODO done) 2014-05-16 17:08:35 +02:00
Bertrand Songis 3b85414f2e Merge pull request #1105 from opentx/andreas/BringBackFlashSavings
Andreas/bring back flash savings
2014-05-16 16:56:45 +02:00
Bertrand Songis 9805a8cf60 Merge pull request #1104 from opentx/bsongis/Telemetry_refactoring
Bsongis/telemetry refactoring
2014-05-16 16:56:31 +02:00
openfsguruh 9bbe3236ab a special volatile saves 40 bytes if FRSKY_STICKS used 2014-05-16 16:48:07 +02:00
bsongis bfbee05b25 Telemetry refactoring continued 2014-05-16 16:46:04 +02:00
openfsguruh 07e6df9ea5 first 68 bytes flash savings. Bring back to pointer and add volatile 2014-05-16 16:14:30 +02:00
bsongis 40783acc36 Small display bug on SMLSIZE numbers with PREC1 (used in Failsafe menu
on Taranis)
2014-05-16 15:48:57 +02:00
bsongis fec39c4222 Numbers like "5.1" were badly displayed in DBLSIZE (the point was near
the 1). Small code saving (10 bytes)
2014-05-16 15:15:57 +02:00
bsongis d6977a130b Chars [ and ] use now one less pixel in weight 2014-05-16 14:43:32 +02:00
mhotar c72d84e27f wizard images #992 2014-05-16 00:35:14 +02:00
bsongis 6b3c4c8cfe Telemetry bugfixes 2014-05-15 21:08:04 +02:00
bsongis b376192b61 Telemetry refactoring 2014-05-15 18:07:52 +02:00
bsongis 2fbd4ff13a Mixer code splitted differently 2014-05-15 12:08:57 +02:00
bsongis 55ed62e6ac Mixer code moved to a separate file 2014-05-15 11:10:05 +02:00
bsongis 4f5c145ac7 Changes in menu_general.cpp lost (Play in SD Manager, FRSKY_STICKS mod).
Is displaySlider ok now?
2014-05-15 10:11:09 +02:00
bsongis 5503a9cd3c Curves code moved to a separate file 2014-05-15 08:07:37 +02:00
Bertrand Songis d047133e64 Merge pull request #1102 from opentx/bsongis/Switches_refactoring
Switches code moved to a separate file
2014-05-15 07:36:14 +02:00
mhotar a86ff47e24 wizard images #992 2014-05-15 01:13:43 +02:00
bsongis 8f10bed8c1 Haptic strength will be selectable with a slider, with a default
position at center
2014-05-14 11:15:07 +02:00
bsongis cd42a7749e One more constant exported for Lua scripts: FULLSCALE, to avoid 10.24
hardcoded in Lua scripts...
2014-05-14 10:46:37 +02:00
bsongis 7bd45379b9 Fixes #1095 2014-05-14 10:27:26 +02:00
Bertrand Songis 6406c7352b Update tts.py 2014-05-14 08:00:24 +02:00
Bertrand Songis 276e86eac1 Update tts.py 2014-05-13 23:25:59 +02:00
mhotar d7307ae79f tx wizard -layout #992 2014-05-13 23:12:49 +02:00
bsongis 30c4833c23 RSSI line not correctly displayed on all 9X/9XR boards (since
introduction of proportional fonts)
2014-05-13 22:31:51 +02:00