Commit Graph
90 Commits
Author SHA1 Message Date
philmozandGitHub 3d6bc638a6 fix: Remove audio queue state check for SF 'Play Sound' action (#3567)
Was preventing sounds running from startup
2023-05-15 21:25:18 +10:00
4e49ac68be feat(colorlcd): Special Function to set main screen (#2160)
* Special Function to set main screen (#2135)

* chore: Add new SF to LUA constants list

* Companion support

* Formatting

* get rid of magic number

* Add function to get the number of custom screens

* Change screen numbering from 0-based to 1-based.

* Allow SetScreen custom function for Color LCD only

* add range protection

* cleanup

* yet, range protection once again

* fix: paintSpecialFunctionLine can't alter SF param data

* Fix screen initialization in companion

* move screen switching to the UI

* Trigger view change from guiMain()

* chore: Change "SET" to "Set" for consistency

* fix: Somehow missed extra comma in `TW`

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
Co-authored-by: Raphael Coeffic <raphael.coeffic@frafos.com>
2022-09-07 21:40:34 +10:00
eshifriandGitHub 755365abfd feat(timer): Long timer announces minutes only when gt 10 minutes (#1891)
* Long timer announce minutes only
* fix: Typo and minor formatting
* fix: Handle negative long timer also + minor formatting
2022-07-15 12:58:16 +10:00
MichaelandGitHub ce8cc0b540 Fix missing log steps at 0.1s period (#1967)
fixed issued where log steps would be missed due to 10ms timer resolution
- simulator: allow for one get_tmr10ms() tick (10ms) deviation
- radio: switched to FreeRTOS software timer at user requested period

code cleanup
log.cpp: made variable lastLogTime static
log.cpp: deleted unused variable g_logError
functions.cpp, logs.cpp, sdcard.h: renamed variable logDelay to logDelay100ms to show it is scaled to 100ms increments
2022-06-27 20:12:47 +02:00
c59f579bbe Add special function to disable the touch screen (#942)
* added a new special function to disable the touch screen

* Bump libopenui

* Don't try to disable touch if no hardware touch

* Disable processing of SF if no touch hardware

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-10-25 23:20:57 +11:00
rotormanandRisto fc2142ec78 Changed uniformly to EdgeTX boiler plate (also added boiler for files that were missing it). 2021-10-02 14:22:01 +02:00
Raphael CoefficandGitHub adde1160b4 [color] enable insta trim on all views (#347)
* [color] enable insta trim on all views

Resolves #342

* Removed warning for colorlcd
2021-06-27 12:28:42 +02:00
Raphael Coeffic 2f5b522413 Merge branch '2.3' into 2.4 2021-05-16 12:55:21 +02:00
Bertrand Songis 8635f1521f Compilation fixes 2021-02-02 08:55:05 +01:00
Bertrand Songis 72feef3911 All my comments from the PR fixed. Still missing the Companion part 2021-02-01 23:02:52 +01:00
WismyYao 744bcab0b9 enter racing mode by spec function 2021-01-30 13:39:09 +08:00
3djcGitHub3djc <Th1sisfmyofmyo>
87cd9047b1 2.4 continued (#8092)
Quite a bit of work on 2.4

Co-authored-by: 3djc <Th1sisfmyofmyo>
2020-11-14 14:55:37 +04:00
3djcandGitHub 596738b968 Improve new backlight (#8018)
Backlight function improvement
2020-10-16 16:26:47 +02:00
3djcandGitHub a82ed914c9 Allow backlight function to turn off backlight entirely (#8005) 2020-10-10 09:46:07 +02:00
Bertrand Songis 42a3198568 Merge with latest 2.3 2020-10-07 21:01:45 +02:00
DanielGeAandGitHub 035cc6c031 Brightness adjust from backlight function (#7680)
Adjust brightness from backlight function
2020-07-31 17:06:11 +02:00
Bertrand Songis 4c484017a4 Merge from 2.3 2019-12-05 09:29:11 +01:00
Bertrand Songis bc9cd3fba9 New Table widget 2019-11-28 17:03:57 +01:00
Bertrand SongisandGitHub c0a94505b6 Issue with function "Trainer Chans" (#7104)
TRAINER(Channels) had a 50% weight
2019-11-20 21:10:30 +01:00
Bertrand Songis 071116afeb Merge with latest 2.3 2019-11-07 15:04:45 +01:00
Bertrand SongisandGitHub 1b35f2bd35 Trainer function can now replace the channels values instead of to the sticks positions (#6561) 2019-10-24 12:03:19 +02:00
Bertrand Songis f4f8893ae9 New UI merged 2019-08-28 20:50:14 +02:00
Bertrand Songis 2ce17f3b68 More unneeded definitions removed 2019-08-20 18:04:19 +02:00
Bertrand Songis c50c55033e [Horus] Screenshots special function. Woot! 2019-08-19 17:47:49 +02:00
Bertrand Songis c28210e3e4 Rotary encoder refactoring 2019-04-30 14:55:21 +02:00
Bertrand Songis 3a99fcd826 [PXX2] R9M/R9 BIND options added 2019-04-24 11:13:29 +02:00
Bertrand Songis 765b17f36b Cosmetics 2019-04-17 16:28:02 +02:00
Bertrand Songis ab77595c6c Another lot of refactoring 2019-02-05 14:18:45 +01:00
Bertrand Songis b72ccb4836 PXX2 always defined. PROTOCOL enums renamed. IRPROTOS removed 2018-11-28 18:02:14 +01:00
Bertrand Songis ed91931184 More AVR removal 2018-08-05 13:12:51 +02:00
Bertrand Songis 131078e3a0 GCC new warnings fixed (GCC) 8.1.1 20180531 2018-08-03 23:02:43 +02:00
Bertrand Songis cdfdcf6d13 VOICE definition removed (always used) 2018-08-03 08:33:33 +02:00
Bertrand Songis db1d3fcb32 Remaining CPUARM removed 2018-07-11 13:33:51 +02:00
3djc dd632969f3 Massive clean thanks to Schwabe : unifdef -m -DCPUARM -UCPUM64 -UCPUM2560 -UPCBSTD -UPCBMEGA2560 -UPCBGRUVIN9X -UPCB9X $(find . -name "*.cpp" -or -name "*.h") 2018-07-05 08:04:55 +02:00
3djc 4d126dd91a Fix setFailafe SF
Fixes #5984
2018-06-22 07:51:05 +02:00
Raphael CoefficandAndre Bernet b29352b816 fixes trim re-use for T5 & T6 (#5873) 2018-05-06 21:42:43 +02:00
Raphael CoefficandBertrand Songis 2ad0db2d80 Set all custom failsafe channels at once (#5834)
* added setCustomFailsafe()

* failsafe setup: set all custom channels with ENTER long press

implements #5820

* added “outputs -> failsafe” menu item on horus

* change “Trims >> Subtrims” to “Trims => Subtrims”

* use translated string for “Outputs => Failsafe”

* fixed entered TR_TRIMS2OFFSETS and TR_OUTPUTS2FAILSAFE

When using ZCHARs in Horus texts, there are some artefacts when highlighted.

* added “outputs -> failsafe” menu item on taranis 212x64 LCD

* added “outputs -> failsafe” menu item on taranis 128x64 LCD

* fixed indentation
2018-04-24 08:13:09 +02:00
Bertrand SongisandGitHub c4001c8507 Bsongis/frsky xlite (#5574)
FrSky X-Lite support added
2018-01-02 14:36:48 +01:00
Bertrand SongisandGitHub e5b2b8ef64 Bsongis/issue 5311 (#5354)
Fixes #5311
2017-11-13 22:17:13 +01:00
Bertrand SongisandAndre Bernet 96f1a16744 Avoid repeat i.e. Telemetry Lost / Trainer Lost until prompts fifo is… (#5121)
* Avoid repeat i.e. Telemetry Lost / Trainer Lost until prompts fifo is full ...

* Rename functions

* Belt and braces
2017-08-09 11:59:13 +02:00
Andre Bernet a587f8b825 Edge detection only on "Reset Flight", commit 6bc6e074e17e28138fcb23b1e6a3e91eef0b406a introduced unnecessary change in behavior for Reset Timer (fix #5036) 2017-06-25 17:40:54 +02:00
Max PapernoandBertrand Songis 1eead1504c Clean up build warnings (#4169)
* [build][OSX] Fix clang warnings.

* [build][OSX] A few more warnings taken care of.

* [build] Fixed yet more build warnings across all platforms.

* [build] Fix final warning due to bad CMake flag.

* [build] Remove unused variables as requested, fix indent.

* Fix output display limit type for 8-bit targets.
2016-12-30 18:16:11 +01:00
Damjan AdamicandAndre Bernet f4b54ea332 Fixes #3937: When executed from Special Functions, Flight Reset cause… (#3942)
* Fixes #3937: When executed from Special Functions, Flight Reset caused a GUI lockup

* Cosmetics
2016-10-21 12:16:33 +02:00
Damjan AdamicandBertrand Songis 44133b595d Re #3815: Audio refactoring (#3926) 2016-10-19 22:56:25 +02:00
Damjan AdamicandAndre Bernet 85f7a09b9c Fixes #3858: added edge detection to RESET and GVAR INC/DEC functions (#3921)
* Fixes #3858: added edge detection to RESET and GVAR INC/DEC functions

* Re #3858: Gtests added for Special Functions: FLIGHT_RESET and GVAR_INC

* Re #3858: Gtests fixed

* Re #3858: Gtests fixed 2
2016-10-18 18:19:11 +02:00
3djcandAndre Bernet 670a832985 Bug fix for X9E (FM all active at the same time in special funcitons) (#3854)
* Bug fix for X9E (FM all active at the same time in special funcitons)

* Fix the fix
2016-09-25 09:36:44 +02:00
Bertrand Songis d44f98d677 Fixes #3770 2016-09-12 18:32:26 +02:00
Andre Bernet 0d12832d30 Revert "[Horus] Fixes #3770 - needs tests"
This reverts commit f131c79b87.
2016-09-11 13:41:53 +02:00
Bertrand Songis f131c79b87 [Horus] Fixes #3770 - needs tests 2016-09-06 20:12:24 +02:00
Bertrand SongisandAndre Bernet 1d735f2bd3 [X9E/X7D] Rotary encoder navigation speed implemented (#3724) 2016-08-27 18:19:44 +02:00