Damjan Adamic
a20e5aee3b
Re #1457 - added display of channels 17-32 to Companion simulator
2014-07-06 19:50:42 +02:00
Damjan Adamic
88bb28e3f1
Re #1458 - added gtest for big numbers (>uint16_t)
2014-07-06 09:25:38 +02:00
Damjan Adamic
f4fdc233c0
Re #1458 - Forgoten files for new gtest
2014-07-06 09:14:20 +02:00
Damjan Adamic
7130e48089
Re #1458 - the cast is back, but cast to different type depending on platform. Gtest modernized.
2014-07-06 09:11:29 +02:00
Damjan Adamic
ed094f89e8
Fixes #1458 - Incorrect display of free mem on statistics page
...
lcd_outdezNAtt() on ARM was casting values to uint16_t.
2014-07-06 08:49:35 +02:00
Damjan Adamic
50122d4ee1
Bad indentation
2014-07-05 19:43:31 +02:00
Damjan Adamic
1bc04db9cd
gtest only for Taranis (thanks Jenkins)
2014-07-05 19:20:56 +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
7d85d40f68
Fixes #1452 - Backlight simulation
2014-07-05 17:08:56 +02:00
Damjan Adamic
8c010277c9
Renamed s_timeCumTot to sessionTimer
2014-07-04 11:09:30 +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
Damjan Adamic
b6cbde48be
Removed sessionTimer and replaced with existing s_timeCumTot.
...
Corrected bug when saving g_eeGeneral.globalTimer (missing reset of session timer and eeprom dirty)
2014-07-03 19:14:15 +02:00
Damjan Adamic
7e758ce7ad
Wrong type corrected and cosmetic fixes
2014-07-02 16:08:31 +02:00
Damjan Adamic
038365e639
Introduced frskyCellVoltage_t type and united code with frskyUpdateCells()
2014-07-02 12:57:36 +02:00
Damjan Adamic
e6370ebb2a
United setting of cell voltage in frskySetCellVoltage()
2014-07-02 12:24:19 +02:00
Damjan Adamic and bsongis
645350a1a2
Fixes #1397 - Refactored telemetry view page navigation, long PAGE key press now cycles in oposite direction
2014-07-02 11:17:33 +02:00
Damjan Adamic
713b2e2cf5
Added missing frskyData.hub.minCell update if using SPORT FLVS sensor
2014-07-02 09:41:25 +02:00
Damjan Adamic
7a02e57dcf
Cells initialization in simulator
2014-07-02 09:40:30 +02:00
Damjan Adamic
194a635800
Ups, forgot a bit of debugging code
2014-07-01 21:56:06 +02:00
Damjan Adamic
e4314004a8
ACCURAT_THROTTLE_TIMER was lost when splitting code into mixers.cpp in 2fbd4ff13a
2014-07-01 21:53:56 +02:00
Damjan Adamic
070a133cd5
Merge branch 'next-upstream'
2014-07-01 15:45:35 +02:00
Damjan Adamic
74f4f99280
Added regresion test for FrskyValueWithMin averaging algorithm
2014-07-01 15:40:12 +02:00
Damjan Adamic
66848156a8
Removed test code
2014-07-01 15:32:17 +02:00
Damjan Adamic
3f39352d95
Reduced the size of averaging buffer and introduced a raw (unfiltered) value. Averaged value is same as before, but one byte saved per class instance. Unfiltered value is used for writing into telemetry log.
2014-06-30 21:12:01 +02:00
Damjan Adamic
d38c02f847
Fixes #1403 - "make clean PCB=TARANIS" deletes necessary source file
2014-06-30 17:58:05 +02:00
Damjan Adamic
a83c6c8a0c
Fixes #1408 - Move down in Inputs tab not working
2014-06-30 17:24:36 +02:00
Damjan Adamic
b5cdd60367
Fixes #1407 - Strange input interaction when Throttle trim idle only
2014-06-30 17:03:59 +02:00
Damjan Adamic
e5ae504bae
Fixes #1394 - Taranis GPS Speed still 120km/h limited
2014-06-29 20:31:59 +02:00
Damjan Adamic
ce302aae60
Fixes #1338 - Extend limits - Companion (scale bug)
2014-06-29 17:57:56 +02:00
Damjan Adamic
b0869fccfc
Re #1358 - defined PREC2 in Lua
2014-06-29 14:29:22 +02:00
Damjan Adamic
17ab12f7bf
Added missing eeDirty(EE_MODEL)
2014-06-29 14:26:39 +02:00
Damjan Adamic
816f9ce8a0
Fixes #1388 -New Lua functions: model.getInfo() and model.setInfo()
2014-06-29 13:54:50 +02:00
Damjan Adamic
5fb41eb32f
Fixes #1396 - Special functions, adjust GV1 Source CHxx not saved in .eepe file (on AVR platforms)
2014-06-29 13:08:28 +02:00
Damjan Adamic
c687e20fff
Fixes #1390 - hide switches !SHup, !SHdown, !SFup and !SFdown for Taranis
2014-06-29 12:43:34 +02:00
Damjan Adamic
c5aa691467
Fixes #1399 - Option to hide inv parameter effect in the channel monitor
2014-06-29 12:00:29 +02:00
Damjan Adamic
935458caa4
No time on full EEPROM backup (reverted from commit e3b8e91a0a)
2014-06-27 08:48:53 +02:00
Damjan Adamic
8c33914cbb
Fixes #1364 - Stack alignment to 8 bytes
2014-06-26 10:30:01 +02:00
Damjan Adamic
405fd802d5
Re #1361 - Fixed 10000% bug
2014-06-25 09:02:23 +02:00
Damjan Adamic
317890c9f9
Fixes #1283 - EEPROM backup/restore - unexpectedShutdown set
2014-06-23 19:47:49 +02:00
Damjan Adamic
65f433438a
Fixes #1338 - Extend limits - Companion
2014-06-23 19:22:16 +02:00
Damjan Adamic
b8487c90de
Removed traces
2014-06-22 13:53:46 +02:00
Damjan Adamic
f3bc8cb9a4
Fixes #1345
2014-06-22 13:52:59 +02:00
Damjan Adamic
c0c6a90f65
Added traces
2014-06-22 13:17:16 +02:00
Damjan Adamic
831cbc0122
Script output names same as on the radio (i.e. LUA1b)
2014-06-21 22:20:56 +02:00
Damjan Adamic
d0edbacf37
re #1334 - added Lua script outputs to: mixer soruces list, logical switches V1 and V2 list
2014-06-21 22:05:43 +02:00
Damjan Adamic
2a277e930c
Correct minimum value for speed is 0
2014-06-19 16:44:24 +02:00
Damjan Adamic
c9cc39c139
Unit for Knots is "kn"
2014-06-19 16:43:53 +02:00
Damjan Adamic
11b18ca760
Merge pull request #1315 from opentx/projectkk2glider/issue_1310
...
Fixes #1310 - Vspd V2 value resolution probem in Companion
2014-06-19 15:47:18 +02:00
Damjan Adamic
b1fa194a1d
Cosmetics
2014-06-19 15:45:47 +02:00
Damjan Adamic
3dfe0afd6f
Merge branch 'next-upstream'
2014-06-19 15:40:02 +02:00
Damjan Adamic
73cd69c63b
Fixes #1310 - Vspd V2 value resolution probem in Companion
2014-06-19 09:10:22 +02:00
Damjan Adamic
fd9f3ad8be
Bad indentaton and reduced buffer size
2014-06-19 06:53:53 +02:00
Damjan Adamic
1e917da05e
RTC time initialization in simulator
2014-06-18 22:22:15 +02:00
Damjan Adamic
c82068115f
Fixes #115 - added date and time to backup filename
2014-06-18 22:19:57 +02:00
Damjan Adamic
6497407788
Removed frskyData.hub.gpsDistance simulator initialization because it is a calculated value.
2014-06-17 14:42:29 +02:00
Damjan Adamic
8115a78df7
Added couple of simulator telemety initialization values.
2014-06-17 13:04:35 +02:00
Damjan Adamic
f99fc83993
Fixes #1264 - CFN_GVAR_CST_MAX is 500, int16_t is needed
2014-06-17 11:50:08 +02:00
Damjan Adamic
18f327612f
re #1294 - clear input name if removing last input line
2014-06-17 10:01:14 +02:00
Damjan Adamic
6689919a39
Fixes #1294 - Companion, Delete action without a selection
2014-06-17 09:25:57 +02:00
Damjan Adamic
effcb1610b
Fixes #1290 - Gvar popup wrong if same as other FM
2014-06-15 18:50:45 +02:00
Damjan Adamic
1c2257190a
Fixes #1269 - RSSI Tx should be hidden in companion if radio is Taranis.
...
I followed isTelemetrySourceAvailable() and hided RssiTx and dTE.
2014-06-14 19:03:03 +02:00
Damjan Adamic
f509a7d22b
bug: wrong locaion for addText()
2014-06-14 18:30:23 +02:00
Damjan Adamic
f55e5f862b
Merge pull request #1280 from opentx/ChrisNisbet01/issue_1278
...
Chris nisbet01/issue 1278
2014-06-14 09:03:16 +02:00
Damjan Adamic
10413bbede
Removed compiler warning: lua.cpp:63:60: warning: missing braces around initializer for 'ScriptInputsOutputs' [-Wmissing-braces]
2014-06-14 08:24:00 +02:00
Damjan Adamic
91dfb0309e
Removed compiler warning: lua.cpp:1382:21: warning: variable 'filename' set but not used [-Wunused-but-set-variable]
2014-06-14 08:18:47 +02:00
Damjan Adamic
6707f68923
One more warning removed: ../targets/taranis/board_taranis.h:256:3: warning: function declaration isn't a prototype [-Wstrict-prototypes]
2014-06-14 08:10:40 +02:00
Damjan Adamic
5351514180
Using enume instead of numeric constants
2014-06-14 00:04:44 +02:00
Damjan Adamic
37ec428efc
Fixes #1266 - Companion timer value not in time format
2014-06-13 23:34:01 +02:00
Damjan Adamic
a596001338
Companion mixer tab, if CH1 is empty the Move up button will never bring something there, fixes #1261
2014-06-12 15:16:50 +02:00
Damjan Adamic
d767b62d01
Added A3 and A4 simulator initialization values.
2014-06-10 15:24:55 +02:00
Damjan Adamic
5a0f154876
Fixes #1215
2014-06-08 19:31:02 +02:00
Damjan Adamic
15d89d638c
Hide gvars for FM>0 if tx does not support per flight mode gvars, issue #1195
2014-06-08 18:58:53 +02:00
Damjan Adamic
087c9f0202
Gvar value restored, issue #1195
2014-06-08 18:26:39 +02:00
Damjan Adamic
0ae00dddf8
Fixes #1204
2014-06-08 18:07:14 +02:00
Damjan Adamic
f865bdf785
Changed order of context menu for logical switches and custom functions. Before this change the Delete option was first and it was too easy to inadvertently delete an item.
2014-06-08 17:18:50 +02:00
Damjan Adamic
04897885dd
Fixes #1209
2014-06-08 17:11:14 +02:00
Damjan Adamic
2248c84b8f
Added error string to output, to help resolving issue #1217
2014-06-08 16:33:34 +02:00
Damjan Adamic
6d384759ae
Removed MixesWithoutExpo capability. Added missing files for previous commit.
2014-06-01 16:13:06 +02:00
Damjan Adamic
d641147ef0
The "No DR/Expo" was (after conversion from 215) showing in mixes for Taranis. Taranis does not have this setting.
2014-06-01 16:01:35 +02:00
Damjan Adamic
7505701e64
Merge pull request #1119 from opentx/bsongis/logical_switches_issue_1039
...
Bsongis/logical switches issue 1039
2014-05-19 22:04:30 +02:00
Damjan Adamic
df971b0e77
Cosmetics
2014-05-18 18:44:07 +02:00
Damjan Adamic
dc2fcb2618
Another gtests failure
2014-05-18 18:30:30 +02:00
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
Damjan Adamic
4932ed8099
Re #1086 : Corrected displayed flight mode numbering. Added bold to active flight mode gvars values.
2014-05-13 20:28:32 +02:00
Damjan Adamic
0145bcfd6c
Fixes #500 .
...
Graphical presentation could be better, I am not very familiar with Qt.
2014-05-11 18:12:03 +02:00
Damjan Adamic
750cde82d1
Companion simulator crash for REVPLUS, TIM4 simulator substitute was not defined
2014-05-11 17:04:16 +02:00