Damjan Adamic and Bertrand Songis
2dd8b8702f
Re #3827 : added mutex to getADC(), because adcRead() is not reentrant ( #3889 )
...
* Re #3827 : added mutex to getADC(), because adcRead() is not reentrant
* Re #3827 : alternative solution to prevent calling getADC() from different threads, because adcRead() is not reentrant
* Cosmetics
2016-10-08 22:09:25 +02:00
Damjan Adamic and Bertrand Songis
7509146a8f
Fixes #2577 : order of displayed GPS coordinates changed according to ISO 6709 (latitude before longitude) ( #3878 )
2016-10-08 09:39:46 +02:00
Damjan Adamic
88e1740422
Fixes #3882 : Widget option min an max values were not parsed (resulted in Lua disabled)
2016-10-07 15:18:49 +02:00
Damjan Adamic
def3ba9d66
S-PORT GPS parsing was wrong: latitude and longitude were exchanged with each other
...
Telemetry simulator latitude and longitude were exchanged with each other (reverted from commit e7f6d321dd )
2016-10-06 10:51:45 +02:00
Damjan Adamic
e7f6d321dd
Telemetry simulator latitude and longitude were exchanged with each other
2016-10-06 10:31:26 +02:00
Damjan Adamic
f3c2a4db93
Fixed Frsky-D telemetry protocol GPS sensor, gtests added
2016-10-05 17:57:02 +02:00
Damjan Adamic
5157a9f33c
Fixes #3843 : GPS logging in decimal degrees format. Companion export to Google Earth fixed.
2016-10-05 17:57:02 +02:00
Damjan Adamic
29e618146c
Taranis compilation fixes
2016-10-02 17:43:01 +02:00
Damjan Adamic
2a8629c670
Fixes #3826 : disable Lua platform optimizations (lua_number2integer() behaves the same way on all platforms)
2016-10-02 17:00:03 +02:00
Damjan Adamic
fa174a8279
CLI cosmetics
2016-09-20 21:58:25 +02:00
Damjan Adamic
f03837f45d
Fixes #3836 : if multi-block SD read fails, fall back to the single block reads [Horus]
2016-09-20 21:12:43 +02:00
Damjan Adamic
444d552d5a
CLI improvements:
...
* repeat last command on empty line input
* added SD card read test [testsd] (multi block read of last sectors)
2016-09-20 20:04:02 +02:00
Damjan Adamic
3b10c28b66
SD timeouts increased [Horus]
2016-09-19 22:07:05 +02:00
Damjan Adamic
3fddb28c4f
CLI readsd fixes
2016-09-19 22:07:05 +02:00
Damjan Adamic
ac85678616
Disk cache debug traces fix
2016-09-19 22:07:05 +02:00
Damjan Adamic
d12015e91d
Sector size fix for non SD-HC cards [Horus]
2016-09-18 23:03:05 +02:00
Damjan Adamic and Bertrand Songis
91cea45a43
Audio fixes ( #3818 )
...
* * Switches audio filenames were wrong [Horus]
* sdAvailableLogicalSwitchAudioFiles was too small (we now have 64 LSW), fixed with BitFiled class
* Enabled Travis Gtests on Horus
* SD card version mismatch trace
* Re #3815 : Audio debug timers added
2016-09-17 21:49:52 +02:00
Damjan Adamic
acebc53470
Fixes #3782 : nl translations updated (by fraternl)
2016-09-12 21:22:53 +02:00
Damjan Adamic
038c997b8f
Disable GPS messages that are not needed
...
GPS RTC sync fixes
2016-09-11 21:53:45 +02:00
Damjan Adamic
cb08d37369
Interrupts must stay enabled on Horus when pushing audio buffer from audio thread (this affected 1ms interrupt)
2016-09-11 21:53:45 +02:00
Damjan Adamic
0076dd99e0
SDIO timeout fixes
2016-09-11 21:53:44 +02:00
Damjan Adamic
e229c8f8e7
Log file moved to RAM and aligned for proper DMA access. Log functions renamed.
2016-09-11 21:37:54 +02:00
Damjan Adamic
6ddb9e414f
Getting rid of sdMountPoll() on ARM
2016-09-11 21:37:54 +02:00
Damjan Adamic
183b24086a
Trace installed
2016-09-11 21:37:54 +02:00
Damjan Adamic
8e3a228fc9
Cleanup 3
2016-09-11 11:21:58 +02:00
Damjan Adamic
8899d70e08
Cleanup 2
2016-09-11 11:05:33 +02:00
Damjan Adamic
3653b06ad9
Cleanup
2016-09-11 10:58:59 +02:00
Damjan Adamic
294611c457
Fixes #3772 : USB Joystick channels were mapped incorrectly on Horus
2016-09-10 12:06:51 +02:00
Damjan Adamic
61e6e63856
Missing menu itema and compilation fix
2016-09-02 23:25:05 +02:00
Damjan Adamic
874483ba55
Compilation fixes
2016-09-02 23:07:58 +02:00
Damjan Adamic
bbadf9064a
Compilation fix
2016-09-02 22:48:20 +02:00
Damjan Adamic
37df6f1968
* GPS sensor date/time now kept in UTC (previous conversion to local time was wrong)
...
* internal GPS sensor can now set RTC clock [Horus]
2016-09-02 22:35:54 +02:00
Damjan Adamic
f9a5c99f29
Code style fixes (uncrustify + manual)
2016-09-02 21:18:19 +02:00
Damjan Adamic
d8a00c3f3d
* Code refactoring for GPS to RTC clock
...
* Enabled GPS adjust RTC option for Horus
* Moved sensor ID to the right to allow display of GPS date/time in Telemetry screen
2016-09-02 20:47:56 +02:00
Damjan Adamic
590b0eaab7
Compilation fixes
2016-08-30 21:55:09 +02:00
Damjan Adamic
ff37274e64
Horus internal GPS: cmake changes, more CLI options, ability to send commands to the module
2016-08-30 21:23:20 +02:00
Damjan Adamic
1ef91597ca
Horus internal GPS: settable baudrate, misc fixes, new cmake options, cosmetics, cli
2016-08-29 23:22:46 +02:00
Damjan Adamic
f0c2f10e27
Serial port SERIAL2 enabled [Horus]
2016-08-29 20:09:59 +02:00
Damjan Adamic
5a9eeaacc1
Added missing interrupt name [Horus]
2016-08-29 20:04:55 +02:00
Damjan Adamic
5cdb1e52d1
Cosmetics
2016-08-29 19:59:12 +02:00
Damjan Adamic and Andre Bernet
89e0fd1e1d
Re #3724 : added smoothing filter for rotary encoder speed/acceleration calculation ( #3726 )
2016-08-28 18:00:54 +02:00
Damjan Adamic
b71ba5b095
Cosmetics
2016-08-28 16:44:34 +02:00
Damjan Adamic
7522e54c83
More decimal places for small climb rates.
2016-08-28 11:38:38 +02:00
Damjan Adamic
504592ed18
Proper type for STICKS
2016-08-28 11:09:47 +02:00
Damjan Adamic
5446b4707d
Wrong PPM_UNIT option value
2016-08-28 11:09:47 +02:00
Damjan Adamic
0c2fb5f7f1
Cosmetics
2016-08-28 11:09:47 +02:00
Damjan Adamic
7dc75cf73f
Debian package generation fixes for simulators (lib files were in the wrong directory, bunch of empty directories were included in package)
2016-08-21 20:51:05 +02:00
Damjan Adamic
9b7d97b441
Cosmetics (missing parts)
2016-08-21 19:43:47 +02:00
Damjan Adamic
64966c7d7d
Cosmetics
2016-08-21 19:18:49 +02:00
Damjan Adamic
646170fe19
Taranis LCD driver: removed some unnecessary lines and cosmetics
2016-07-03 19:40:56 +02:00
Damjan Adamic
c8638bae9d
Cosmetics
2016-07-03 17:58:35 +02:00
Damjan Adamic
42aa06a166
Re #3635 : added missing compound statements (ported from master)
2016-07-01 12:55:28 +02:00
Damjan Adamic
25aab85c9b
Fixes #194 : added logging of TX battery voltage
2016-06-28 09:07:34 +02:00
Damjan Adamic
0f8b36fb3d
Fixed C compiler warnings about "std=gnu++11" flag
2016-06-28 08:49:43 +02:00
Damjan Adamic
52bb358662
Fixes #2022 : Logical switches logged in HEX format with LSW header label
2016-06-28 08:48:17 +02:00
Damjan Adamic
f1bdb931b8
Fixes #3549 : disable trim processing in while shutdown is in progress, do no turn of the back-light before the shutdown ( #3612 ) (ported from master)
2016-06-18 22:26:25 +02:00
Damjan Adamic
d5e4f1132b
Fixes #3595 : show value of persistent sensor after power on, before the telemetry is received
2016-06-13 20:29:00 +02:00
Damjan Adamic
79b2015b6e
Re #3536 : cosmetics
2016-05-26 20:41:48 +02:00
Damjan Adamic
74adc1c7e6
Fix cmake resources compile problem
2016-05-25 23:17:36 +02:00
Damjan Adamic
829b86da99
Cosmetics
2016-05-25 22:14:10 +02:00
Damjan Adamic
03b4797073
Compilation fix (DEBUG_INTERRUPTS)
2016-05-23 19:08:16 +02:00
Damjan Adamic
06fce5108e
Closes #3505 : add fuel quantity sensor in telemetry simulator ( #3506 ) (ported from master)
...
* Closes #3507 : raise max RPM in telemetry simulator to 2147483647 (0x7FFFFFFF)
2016-05-23 18:49:46 +02:00
Damjan Adamic and Bertrand Songis
0fad67a8ea
Switch warning fix for Horus ( #3516 )
2016-05-20 23:05:32 +02:00
Damjan Adamic and Bertrand Songis
29a139559d
Re #2999 : More strict SBUS frame check (only allow 25 byte frames, ch… ( #3501 )
...
* Re #2999 : More strict SBUS frame check (only allow 25 byte frames, check end byte)
* SBUS fixes
2016-05-19 06:30:19 +02:00
Damjan Adamic
8eda8244c6
Re #2826 : Lua API: doc update for Cels- and Cels+
2016-05-16 22:01:06 +02:00
Damjan Adamic
67c0326cca
Re #2826 : Lua API: return proper values for Cels- and Cels+
2016-05-16 21:36:19 +02:00
Damjan Adamic and Bertrand Songis
a0feed7f4d
Fixes #3492 : better implementation of delay_01us() using Cortex system cycle counter ( #3497 )
2016-05-15 14:30:32 +02:00
Damjan Adamic and Bertrand Songis
1d4e6101ba
Projectkk2glider/issue 3317 curves ( #3451 )
...
* Fixes #3317 : curve Preset and Clear fixes
* Re #3317 : cosmetics
2016-05-15 07:57:05 +02:00
Damjan Adamic and Bertrand Songis
59653f9ca6
Fixes #3492 : delay_01us() and delay_ms() functions were generating wrong delays (6 times shorter on Taranis, 8 times on X9E and Horus). Important delays adjusted, function names and code unified. ( #3496 )
2016-05-14 21:56:20 +02:00
Damjan Adamic
7161d90297
gtests fix
2016-05-14 10:22:17 +02:00
Damjan Adamic
06d9ec846d
Re #3485 : variable type fix
2016-05-12 22:25:35 +02:00
Damjan Adamic
49b3e5428f
Fixes #3476 : better representation of negative mixer weight in offset bar widget (ported from master)
2016-05-12 21:05:36 +02:00
Damjan Adamic
2df621993e
Enable DSM protocols on all targets that define DSM2 macro, not just on Taranis. ( #3471 ) (ported from master)
2016-05-09 20:42:27 +02:00
Damjan Adamic
49cad7f757
Re #3462 : Lua doc update
2016-05-09 19:29:52 +02:00
Damjan Adamic
6349ff9496
Fixes #3462 : PlayTone check for min/max frequency added. Fixes Lua playTone() crash when called with abnormal parameter values. ( #3468 ) (ported from master)
2016-05-06 22:44:43 +02:00
Damjan Adamic
8cd677d697
Projectkk2glider/issue 3463 negative filtered sensor values ( #3469 ) (ported from master)
...
* Fixes #3463 : negative sensor values were invalid if filter was active for the sensor
* Re #3463 : enable simultaneous use of `offset` and `filter` (was: when `offset` was enabled, the `filter` was always inactive even if enabled)
2016-05-06 22:37:05 +02:00
Damjan Adamic and Bertrand Songis
baacc0fe29
Stick mode now in one global variable, it should work in Horus emerge… ( #3455 )
...
* Stick mode now in one global variable, it should work in Horus emergency mode
* Improvements (suggested by Bertrand)
2016-05-02 23:39:15 +02:00
Damjan Adamic
3fb853c8b8
Re #3454 : sensor persistent fixes (ported from master)
...
* Only clear sensor.persistentValue when the sensor.persistent is disabled and not on every shutdown.
* Only show persistent option for calculated type sensors (only these actually get saved in EEPROM)
2016-05-02 19:38:57 +02:00
Damjan Adamic and Bertrand Songis
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
Damjan Adamic and Bertrand Songis
c6f13de505
Log viewer improvements ( #3442 )
...
* Added:
* max altitude
* two cursors for time/altitude measurement
* Fix if multiple altitude related telemetry items are selected (only put cursors on the first one)
2016-04-29 18:59:39 +02:00
Damjan Adamic
92c76b5884
Fixes #3372 : Telemetry mode "FrSky D (cable)" choice was missing for Taranis (ported from master)
2016-04-28 12:52:50 +02:00
Damjan Adamic
981d133607
Log viewer session finder fix (caused by different Qt4/5 behavior of QDateTime)
2016-04-23 20:40:18 +02:00
Damjan Adamic
8a545ee60b
simu CPU optimizations
2016-04-23 20:07:43 +02:00
Damjan Adamic
42f82cbbed
Proper simulator shutdown
2016-04-23 20:06:53 +02:00
Damjan Adamic
d2923a32d3
Fixed bug in Disk Cache: reads bigger than cache block size were not handled properly
2016-04-17 18:37:57 +02:00
Damjan Adamic
41a5af5a6e
Horus disk_ioctl() fixed: CTRL_SYNC was missing, default return is now RES_OK;
2016-04-17 12:55:01 +02:00
Damjan Adamic
e33e83f2b5
Fixes #3351 : same file was used as source and destination in file contents comparison
2016-04-15 15:31:44 +02:00
Damjan Adamic
6b73df6935
Doc fix for ANALOG_SCALE
2016-04-10 22:27:49 +02:00
Damjan Adamic
8ed325c33f
Better precision for Analogs screen
2016-04-10 22:20:06 +02:00
Damjan Adamic
9e0e71ad92
ADC crosstalk fixed, new crosstalk and time measurements (for Horus)
2016-04-10 22:06:53 +02:00
Damjan Adamic
14841590b9
Fixes #3178 : USB driver changed interrupt grouping which affected interrupt priorities (fix suggested by Michael Blandford)
2016-04-10 18:39:26 +02:00
Damjan Adamic
868133371c
Fixes #3374 : added SD card disk cache for Horus
...
* SIMU_DISKIO option available again
* new option DISK_CACHE defaults to ON for Horus
* printf("%f") fixed in CLI
2016-04-09 17:09:46 +02:00
Damjan Adamic
57028614fb
Gtests cmake fix (which I broke in previous commit)
2016-04-08 21:42:12 +02:00
Damjan Adamic
651b0ad579
Disable gtests target if Qt5 not installed
2016-04-08 14:53:07 +02:00
Damjan Adamic
81c687dcd4
Merge pull request #3404 from opentx/bsongis/horus_icons_cache
...
Bsongis/horus icons cache
2016-04-07 22:07:36 +02:00
Damjan Adamic
7d57b4df05
Compilation fix
2016-04-07 21:27:00 +02:00
Damjan Adamic
eab639362a
Compilation fix
2016-04-05 19:12:07 +02:00
Damjan Adamic
29325ad54f
[ARM] Mixers calculated just-in-time
2016-04-05 18:38:37 +02:00
Damjan Adamic
5993d28ab7
Compilation fix
2016-04-04 07:00:32 +02:00
Damjan Adamic
8c36199d69
Compilation fix (crossfire)
2016-04-03 23:27:02 +02:00