Commit Graph
100 Commits
Author SHA1 Message Date
Damjan Adamicandbsongis 8a80463476 Re #1783: NOT curves removed from inputs (for non ARM platforms) 2014-11-08 11:24:51 +01:00
Damjan Adamicandbsongis 525d956935 Re #1783: NOT curves exported incorrectly (for non ARM platforms) 2014-11-08 11:24:51 +01:00
Damjan Adamicandbsongis 1c053a7d0b Re #1783: Companion shows too many curve types in input/mixer for 9x 2014-11-08 11:24:51 +01:00
Damjan Adamic fdeb15253d This enables build of Companion on OS X
Remove the check for arm-gcc version when doing Companion build
2014-11-08 10:16:58 +01:00
Damjan Adamic 1d72831364 Fixes #1811: Companion 2.0.12 Gvar import error (for limits) 2014-11-03 20:02:24 +01:00
Damjan Adamic 24e97a78af Fixes #1731: Joystick calibration crash after channel assignment
also additional fixes to stick postion mapping
2014-11-02 18:54:03 +01:00
Damjan Adamic 5dc38fffe3 Fixes #1815: Stick icons missing next to trim key states on switch diag page 2014-11-02 13:35:31 +01:00
Damjan Adamic 5680c8e580 Fixes #1737: virtual inputs not selectable in SF Volume and heli Collective Source 2014-11-02 12:58:43 +01:00
Damjan Adamic 22c7ec6a39 Fixes #1818: added Lua model.resetTimer() function 2014-11-02 09:31:31 +01:00
Damjan Adamic c89381bae5 Fixes #1791: Port Lua Bin Allocator to next:
* Bin Allocator
* Lua memory allocaton fixes
* Simulator memory leak fixes
2014-10-26 09:14:45 +01:00
Damjan Adamic e34ce57a3f Missing screenshots for previous commit 2014-10-25 20:07:26 +02:00
Damjan Adamic f53df98f70 Fixed buffer overflow in lcd_hlineStip() 2014-10-25 19:58:59 +02:00
Damjan Adamic d5eed897fd Fixed buffer overflow in bmp_load() 2014-10-25 19:35:52 +02:00
Damjan Adamic ce303b2f4a Bug in numbering of Lua multiple fields (only in generated documentation file, all numbers were too small by 1) 2014-10-16 18:27:28 +02:00
Damjan Adamic 6839c02aba Fixes for simu 2014-10-15 20:04:06 +02:00
Damjan Adamicandbsongis 874156122d Re #1610:
* sport.log only active if SPORT_FILE_LOG=YES
* audio concurrent access fixes
* added IO mutex
* added Event Trace Buffer
* fixed SD card error

Conflicts:
	radio/src/Makefile
	radio/src/targets/taranis/diskio.cpp
2014-10-14 22:43:05 +02:00
Damjan Adamic f8e6fd7b2d Fixes #1755 (on next branch): LUA get/setTimer(): inconsistent timer struct 2014-10-05 14:54:29 +02:00
Damjan Adamic be20e91314 Re #1696: fixed incorrect display of "<" and ">" characters 2014-09-27 19:44:49 +02:00
Damjan Adamic 2fb2590579 Fixes #1657:
* corrected varioLimitCenterMin range
* removed varioLimitMinOff checkbox (it is not used anymore in any radio)
2014-09-27 19:00:26 +02:00
Damjan Adamic 80eb34cea2 Fixes #1714: getting radio setting of imperial or metric in lua 2014-09-20 11:33:48 +02:00
Damjan Adamic 7497be4d28 Fixes #1649: added getDateTime() in lua which returns current date and time 2014-09-20 11:23:33 +02:00
Damjan Adamic df56b94135 Fixes #1666: fixed bootloader 2014-09-03 23:37:05 +02:00
Damjan Adamic 3dcf40b596 Fixes #1666: Missing constructor calls for static objects 2014-09-03 23:05:34 +02:00
Damjan Adamic e506a001bf const language packs (can't be const in simu (linker can't find it)) 2014-09-02 10:18:17 +02:00
Damjan Adamic 13a1c5ca39 const APBAHBPrescTable
const splash_lbm
removed fnSwitchDuration
2014-09-02 10:14:26 +02:00
Damjan Adamic aa4ba74e1a added const (Audio) 2014-09-02 10:12:40 +02:00
Damjan Adamic a3d9ec8a65 added const (USB) 2014-09-02 10:07:22 +02:00
Damjan Adamic 4971820f40 Re #1547: commit 5949be30fa disabled delay for STICKY (which was wrong) now disabled for EDGE 2014-08-25 10:51:27 +02:00
Damjan Adamic 98e352b8e3 Fixes #1622: Lua function script not called for SF >= 8 2014-08-23 18:29:38 +02:00
Damjan Adamic 1e3f3fe029 limit.name was missing from 07fe45ec5f 2014-08-23 18:11:22 +02:00
Damjan Adamic 69aef74036 Fixes #1626: forgot Companion part (thanks Jenkins) 2014-08-23 17:27:16 +02:00
Damjan Adamic 8d49b1076b Fixes #1626: Enable the Lua bit32 library 2014-08-23 17:14:06 +02:00
Damjan Adamic b5c63e339f Added generation of Lua fields documentation file: lua_fields.txt 2014-08-21 10:00:40 +02:00
Damjan Adamic d77de08a68 gtests corrections: Timer3 addition changed source values 2014-08-16 18:03:07 +02:00
Damjan Adamic 3152ac1121 Fixes #1532: added Lua playTone() 2014-08-09 20:24:21 +02:00
Damjan Adamic c813cacb1b (reverted from commit fd3790519a) newlib-nano on my comp has a malloc/free bug, memory gets used but not freed 2014-08-09 20:19:01 +02:00
Damjan Adamic e13f2913df Fixes #1540: added Lua playDuration() 2014-08-09 18:04:48 +02:00
Damjan Adamic 07728782c8 Fixes #1538: Lua playFile(): current language sound path added to the file name in case of a relative path 2014-08-09 17:37:04 +02:00
Damjan Adamic fd3790519a new compile option NANO=YES triggers usage of newlib-nano when linking ARM code. 2014-08-09 17:05:17 +02:00
Damjan Adamic ee2a23c19d Optimization: less gettime() calls 2014-08-08 20:35:27 +02:00
Damjan Adamic 43598fb6df Optimization: removed usage of gettime() where possible 2014-08-08 20:33:35 +02:00
Damjan Adamic f123b69521 Fixes #1548: bad Swedish Cell translation 2014-08-05 20:35:16 +02:00
Damjan Adamic 8bd2c120d6 Re #1567: cleanup 2014-08-03 19:27:02 +02:00
Damjan Adamic 741ef45f3e Re #1567:
introduced generateProcessUniqueTempFileName() which is used everywhere we need temporary file
renamed unlink() into qunlink()
fixed missing deletion of curve pngs in print dialog
2014-08-03 19:21:46 +02:00
Damjan Adamic 4103adf75d Re #1567: introduced unlink() function that takes QString parameter 2014-08-03 18:03:13 +02:00
Damjan Adamic c0e612531d Re #1567: writeBackup(): added PID to temporary file name 2014-08-03 17:38:24 +02:00
Damjan Adamic 55cb5dce87 Re #1567: readEeprom():
* added PID to temporary file name
 * better error message
 * temporary file deletion
2014-08-03 17:38:24 +02:00
Damjan Adamic 50acd1fd92 Expanded non regression tests for #1569 2014-07-31 20:23:11 +02:00
Damjan Adamic 50997721e2 Using anas instead for getValue 2014-07-31 15:57:50 +02:00
Damjan Adamic 828372ab29 Fix for the case of extended trims
Code cleanup
2014-07-31 15:47:32 +02:00
Damjan Adamic 21ae270c0e Fixes #1569 2014-07-31 15:08:37 +02:00
Damjan Adamic 2712ffabb0 Re #1486: gtest improvements in Lua section 2014-07-22 11:39:36 +02:00
Damjan Adamic 2d5d1cb357 Re #1480: couple corrections of field names 2014-07-21 12:04:08 +02:00
Damjan Adamic 2a5364dc8c Re #1480: wrong field.id for multiple fields 2014-07-21 11:51:30 +02:00
Damjan Adamic 7f3778fc3c Re #1480: units updated 2014-07-18 10:41:16 +02:00
Damjan Adamic 0a9dcc5ce6 Re #1480: added TELEM_MAX_ASPEED conversion in luaGetValueAndPush() 2014-07-18 10:41:16 +02:00
Damjan Adamic 2f01f139cc Re #1480: Cosmetics 2014-07-18 09:07:36 +02:00
Damjan Adamic fb3e615008 Fixes #1480: How to handle the increasing number of Lua constants 2014-07-18 08:59:38 +02:00
Damjan Adamic 83e47d9e35 Typo in german translation for "Änderungen" 2014-07-16 10:37:20 +02:00
Damjan Adamic f0c76efaf7 Re #1506 - FAS offest was limited to +-1.5A in Companion, now +-12A (same as radio) 2014-07-16 09:30:44 +02:00
Damjan Adamic 4ae9585080 Re #1510 - Added switches warning, better protocol warnings and limited display to max 10 warnings 2014-07-14 20:11:21 +02:00
Damjan Adamic 161016a02a Bad string "Write Backup from file to to Radio" fixed 2014-07-14 19:16:53 +02:00
Damjan Adamic 559bb83864 Re #1510 - This might be a better warning message 2014-07-14 19:13:39 +02:00
Damjan Adamic cc934c3ac0 Gtest updated according to 28c900e3f7 hack 2014-07-13 15:44:00 +02:00
Damjan Adamic c1d789d004 Fixes #1494 2014-07-13 15:41:18 +02:00
Damjan Adamic b41ba50b53 Removed raw member that was introduced in commit 3f39352d95. Its role now plays last member of values[] array. Same RAM usage, reduced FLASH usage. 2014-07-13 14:44:42 +02:00
Damjan Adamic 2d22c18758 Added RAW_FRSKY_MINMAX() macro for access to the raw telemetry value and gtests for it 2014-07-13 14:35:15 +02:00
Damjan Adamic 8ce05b3284 Data from tow FLVSS sensors and parsing program for sport.log 2014-07-13 12:18:40 +02:00
Damjan Adamic 4c82d12c1a Re #1481 - added gtests for SPort FAS sensor 2014-07-10 11:32:04 +02:00
Damjan Adamic 3700047d2c Re #1409 and #1444:
* added support for two FLVSS
* added gtests for FLVSS
2014-07-09 14:18:39 +02:00
Damjan Adamic 365c2f9e34 Re #1457 - cleanup 2014-07-07 21:38:55 +02:00
Damjan Adamic d743ed9645 Forgoten makefile for split gtests 2014-07-07 19:54:55 +02:00
Damjan Adamic dd67811638 Cosmetics 2014-07-07 19:49:18 +02:00
Damjan Adamic ebe4f6a365 Gtests split into several source files 2014-07-07 19:23:43 +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 ee077a06e6 Re #1464 - added test: "L1 Vfas < 9.6 Delay (0.5s)" 2014-07-07 15:48:46 +02:00
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 Adamicandbsongis 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