Commit Graph
173 Commits
Author SHA1 Message Date
Peter FeerickandPeter Feerick 857e863d3c fix(tx12mk2): Switch pos checks 2022-07-22 20:00:39 +10:00
Raphael CoefficandRaphael Coeffic 99ed405b84 fix: switch display 2022-06-11 15:38:08 +02:00
Raphael CoefficandRaphael Coeffic 30e3ac3399 Basic utf8 support for B&W radios 2022-06-11 15:38:08 +02:00
Neil HorneandGitHub cba4e07ce1 fix: Pot and slider warnings weren't being set properly on radio or syncing with Companion (#1981)
- fix Companion yaml model read and write
- B&W radios treat bit values the same as color to avoid unnecessary complication for Companion and radio conversions
- B&W radios default is therefore off for all pots and sliders
- B&W radios fix runtime warnings check
- all radios fix to save last pot or slider position when checked and mode AUTO on change of model or power off
- all radios do not display Pots Warning in model setup if no pots or sliders supported
2022-06-07 13:04:40 +10:00
ed7be53565 feat: Function Switch led startup sequence (#1746)
* TPro - Fancy led startup seq

* Cleanup

* fix define for function switches

* added shutdown sequence @pfeerick

* Formatting

Co-authored-by: Batam <batam@macbook-pro.home>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-03-31 11:50:46 +10:00
79e0a212e7 fix: Invalid 'active' state of Sticky LS when no source set (#1430)
* The set/reset switches for a logical switch are only processed if the are valid.

* added coment

* Move / elaborate on comment

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-02-27 11:37:32 +10:00
d1ef6f866c [tpro] fix function switch behaviours and add always on capability (#1479)
* fix: tpro function switch toggle mode

* feat: Function switches now have alway on option

* Companion support for function switch always on

* Fix nasty eeprom error

* Update fs startup item model

* Fix Tpro SWITCH_EXISTS

Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
Co-authored-by: elecpower <neilh713@tpg.com.au>
2022-01-23 18:42:31 +10:00
Peter FeerickandPeter Feerick f8c01c3988 Show warning LED with switch and throttle alerts
Show warning LED for switch, throttle and ALERTS generally
i.e. MULTI failsafe not set, low RTC battery, storage warning
2022-01-08 14:12:26 +10:00
eshifriandGitHub e15b34941d [NV14] Add switch definitions for NV14 (#1313) 2021-12-29 11:38:17 +10:00
eshifriandGitHub 87724bba2f [colorlcd] Fix pot and slider warning checks (#1281)
Some pot/sliders were being ignored or check state was inverted
2021-12-28 10:25:33 +10:00
Raphael Coeffic 6b990574af Fix switch checks 2021-12-17 17:31:36 +01:00
3djcandRaphael Coeffic d31482c18b Introduce T-pro and function switches handling 2021-12-17 17:07:48 +01:00
3djcandRaphael Coeffic 6735a42b08 Radiomaster Zorro
Port of opentx/opentx#8791
2021-12-17 15:17:48 +01:00
Raphael CoefficandGitHub 498bc152a3 Merge pull request #1040 from EdgeTX/sw-warnings 2021-12-17 13:05:13 +01:00
Raphael CoefficandRaphael Coeffic e854515147 Fix T12 switch definitions
The T12 has SG instead of SF.
2021-12-17 12:08:23 +01:00
Raphael Coeffic 571cae732c Unify switch warnings 2021-12-09 09:48:28 +01:00
Raphael Coeffic 865cf06b0d Revamped switch state checking 2021-12-09 09:20:01 +01:00
Jesper FrickmannandGitHub a09e318e64 [Lua] Add setStickySwitch and getLogicalSwitchValue (#1056)
[Lua] Add setStickySwitch and getLogicalSwitchValue (#1056)
* Adds setStickySwitch to set the value of a stick logical switch
* Adds getLogicalSwitchValue to get the value of a logical switch by index
2021-11-29 12:48:01 +11:00
Raphael Coeffic 397674021e Improved logical switches 2021-11-10 11:07:02 +01:00
Raphael Coeffic 68bdf025c1 Fixed switch position warning display on B&W 2021-11-10 11:07:01 +01: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
eshifriandRaphael Coeffic fb3ac5e0ba switch warning fix 2021-07-31 07:57:47 +02:00
3djc 70d24506da Merge branch '2.3' into 2.4
# Conflicts:
#	radio/src/fonts/480x272/font_dblsize.png
#	radio/src/fonts/480x272/font_xxlsize.png
#	radio/src/gui/128x64/model_setup.cpp
#	radio/src/gui/128x64/radio_setup.cpp
#	radio/src/gui/480x272/model_receiver_options.cpp
#	radio/src/gui/480x272/model_setup.cpp
#	radio/src/gui/480x272/radio_calibration.cpp
#	radio/src/gui/480x272/radio_hardware.cpp
#	radio/src/gui/common/stdlcd/draw_functions.cpp
#	radio/src/gui/gui_common.cpp
#	radio/src/keys.h
#	radio/src/lua/interface.cpp
#	radio/src/pulses/afhds3.h
#	radio/src/rtos.h
#	radio/src/switches.cpp
#	radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
#	radio/src/targets/horus/CMakeLists.txt
#	radio/src/targets/horus/lcd_driver.cpp
#	radio/src/targets/horus/startup_stm32f42_43xxx.s
#	radio/src/targets/taranis/CMakeLists.txt
#	radio/src/telemetry/crossfire.h
#	radio/src/telemetry/multi.cpp
#	radio/src/translations.cpp
#	radio/src/translations/it.h.txt
#	radio/src/translations/untranslated.h
#	radio/util/font2png.py
#	tools/commit-tests.sh
2021-04-08 11:42:28 +02:00
3djc 6eb1ade135 Multipos autoswitch 2021-01-18 13:38:47 +01:00
3djc 6ffed2c777 Properly space swich/pots check text 2021-01-14 16:58:10 +01:00
3djcandGitHub 24f93a7cbe 3djc/2.4 add 2.3 pr (#8099) 2020-11-19 16:32:50 +01:00
3djcandGitHub e1e67a9d8c Add support for radiomaster TX12 (#8080)
* Add tx12 support
2020-11-14 11:48:46 +01:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
Bertrand Songis fdf77fb476 C function backlightOn() renamed to resetBacklightTimeout() 2020-03-27 10:43:06 +01:00
Bertrand Songis 6cab260ee6 Merge with latest 2.3 2019-12-13 12:30:02 +01:00
Bertrand Songis 14a366ea27 Cosmetics 2019-12-12 15:07:27 +01:00
Bertrand SongisandGitHub b06e865141 Wismy/x7 access (#7182)
X7 ACCESS
2019-12-12 14:44:34 +01:00
Bertrand SongisandGitHub 98c123ef8b Bsongis/issue 7156 (#7160)
Fixes #7156
2019-12-06 16:27:07 +01:00
Bertrand Songis 4c484017a4 Merge from 2.3 2019-12-05 09:29:11 +01:00
Bertrand SongisandGitHub 4cdd17f0d7 MAGIC value for powerReason should be stored in RTC backup on Horus (#7096)
- Allows the radio main application to start correctly when coming from an app in RAM
- Refactoring of the `UNEXPECTED_SHUTDOWN()` process
- Saves the RTC battery as BACKUP RAM is not needed on normal shutdown
- On PWR OFF on an ALERT, the radio won't show the next alert before shutting down
- Bootloader flashable through the SD Manager
2019-11-21 11:50:33 +01:00
3djc 3489bed482 Add startup warnings 2019-11-08 20:21:39 +01:00
Bertrand Songis 071116afeb Merge with latest 2.3 2019-11-07 15:04:45 +01:00
Kilrah b40dfdf12b Merge branch '2.3.1' into 2.3
# Conflicts:
#	CREDITS.txt
#	radio/src/gui/480x272/radio_hardware.cpp
2019-10-05 11:41:48 +02:00
Bertrand Songis d31f566965 Updates 2019-10-04 18:59:38 +02:00
Bertrand Songis 3e2cb83991 Now uses the external libopenui 2019-10-02 14:41:52 +02:00
Bertrand Songis 7a0a6a9341 Fixes #6873 2019-10-01 18:58:07 +02:00
Bertrand SongisandGitHub 4a618f1317 X9LiteS (#6820) 2019-09-24 13:13:45 +02:00
3djcandBertrand Songis 3b171ca3aa Fix new switches (#6817) 2019-09-23 10:10:07 +02:00
Bertrand Songis 9e83c5d10f Merge against latest 2.3 2019-09-17 13:28:42 +02:00
Bertrand SongisandGitHub 2d4e98d15d Bsongis/ram saving (#6685)
RAM saving. Stacks reduced to have some more RAM available than 2.2 on all boards
2019-08-30 15:46:57 +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 SongisandGitHub 39f29860c9 Bsongis/telemetry clean session (#6597)
Telemetry cleaning session
2019-08-02 21:31:03 +02:00
Bertrand SongisandGitHub c13a09f707 Activity switch added (#6571) 2019-07-15 22:27:55 +02:00
Bertrand Songis e07c5d596e Compilation fix 2019-06-27 23:27:32 +02:00