Commit Graph
959 Commits
Author SHA1 Message Date
Jesper FrickmannandGitHub f1baa383ae Fix standalone Lua script screen flicker and improve error messages (#982)
* Relax assumptions about when Lua is called in foreground and background

* Start Lua cycle timer both in foreground and background
Do not assume that background/foreground alternates

* Lua is called at every Standalone GUI cycle instead of 5 Hz
Since Lua preempts every 50 ms or so, the GUI should remain responsive.

* In standalone script, only call Lua once per GUI cycle, to avoid messing up buffer handling.

* Revamped error reporting for Standalone and Telemetry Lua scripts

* Font size for Lua error is reduced from XL to L on color if LCD_W < LCD_H

* In drawTextLines, also possible linebreaks for opening brackets.

* Smaller font for error message on tall color screen

* Make titlebar height match font size on narrow LCD
2021-11-15 12:57:14 +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
Raphael Coeffic fc4cdfd9ae Implement model backup/restore 2021-11-10 11:07:01 +01:00
Raphael Coeffic c696313a4e Use simple scheme with direct model slot to model filename 2021-11-10 11:07:00 +01:00
Raphael Coeffic 4b79cdc795 Fix some b&w target compilation 2021-11-10 11:07:00 +01:00
Raphael Coeffic 5e0d0131b4 Added EEPROM conversions to YAML 2021-11-10 11:07:00 +01:00
Raphael Coeffic e48762e453 use proper define for KEY_PAGE defined 2021-11-10 11:07:00 +01:00
Raphael Coeffic 985a8760bb WiP 2021-11-10 11:06:59 +01:00
dlktdrandPeter Feerick 172caf09bc Fix SBUS period not functioning, use defines over fixed numbers
SBUS period wasn't functional before. It was using the ppm.framelength, both in color and B/W.

Reduced maximum period to 32.5ms as it overflows the unsigned 16bit int otherwise

Tested with scope, color only.
2021-11-04 15:25:34 +10: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 CoefficandRaphael Coeffic bb4eedd073 [bw] set multi binding mode only if multimodule 2021-09-29 19:08:17 +02:00
Peter FeerickandPeter Feerick c0f792c392 Use correct index on 128 B&W radios for MPM status
Fixes #656
2021-09-29 09:12:44 +10:00
Peter FeerickandGitHub 47dac14b2f Add codename define, update radio version screens and tweak companion (#747)
* Add codename deffine and update all radio version screens

* Move string, make const and formatting

* Missed parentheses around version number

* Add codename to Companion

* Replace edge-tx.org with edgetx.org

* Change EdgeTX website http links to https
Also consistent URL

* Update copyright string
Leave second version for future years
2021-09-18 20:35:31 +10:00
Raphael Coeffic ff0abf11a5 Call GV_IS_GV_VALUE() without offset applied
Resolves #722
2021-09-14 10:38:24 +02:00
Raphael Coeffic 0e4201f25d WiP 2021-07-31 18:46:38 +02:00
jfrickmann c62aac7bde Lua task preempts long running scripts instead of killing them
Ported to EdgeTX from https://github.com/opentx/opentx/pull/8194
2021-07-22 14:41:53 -04:00
Raphael CoefficandRaphael Coeffic 90bd1b6329 Unify throttle source check/conversion code 2021-07-14 13:54:12 +02:00
Raphael CoefficandRaphael Coeffic 2650821475 Fix timer countdown time setting
Resolves #358
2021-06-28 14:14:57 +02:00
Raphael Coeffic efc947da63 Changed "About" screen 2021-06-23 16:26:40 +02:00
Raphael Coeffic c55d915d56 Fixed MPM proto subtype reset on subtype change 2021-06-15 06:15:53 +02:00
Raphael Coeffic afb297b0f6 Test new EdgeTX splashes and remove vendor specific branding
Resolves #154
2021-06-07 11:52:50 +02:00
Raphael CoefficandRaphael Coeffic ecb1146b13 Aligned timer setup for 212x64 to 128x64 2021-06-05 20:29:09 +02:00
Raphael CoefficandRaphael Coeffic 31071cc0fc Fixed registration ID 2021-06-05 20:29:09 +02:00
Raphael CoefficandRaphael Coeffic 27252a41ac Fixed editName() 128x64 2021-06-05 20:29:09 +02:00
Raphael CoefficandRaphael Coeffic b429855675 Fixed editName() 212x64 2021-06-05 20:29:09 +02:00
Raphael Coeffic 746e011b54 Fix Model Setup screen 2021-06-01 18:30:46 +02:00
Raphael Coeffic 2f5b522413 Merge branch '2.3' into 2.4 2021-05-16 12:55:21 +02:00
3djc 6291229444 Fix model navigation for rotary enc radios 2021-05-07 10:13:08 +02:00
Raphael CoefficandRaphael Coeffic 257f647d17 Fix for 212x64 as well 2021-05-06 12:55:59 +02:00
Raphael CoefficandRaphael Coeffic 3ba55ac34e Fixed non-color lcd cmake
No widgets necessary for B/W.
2021-05-06 12:55:59 +02:00
3djc efa8f5520b Merge fixes 2021-04-08 14:20:25 +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
Bertrand Songis 5d131093ef Merge with latest 2.3 2021-04-06 09:40:48 +02:00
Bertrand Songis 889f645c1a pushEvent insteado of putEvent 2021-03-12 11:07:31 +01:00
3djc 5c5683894e Multi : improve options support part 2 2021-02-22 11:45:28 +01:00
3djc 10dadf1f78 Multi : improve options support part 1 2021-02-21 12:25:47 +01:00
3djc d1a60cca8d Multi : support SX1276 power indication and protect against unknown options coming from multi 2021-02-19 16:53:01 +01:00
Daniel 1f038dc5ce Output type only with 9xrpro and ppm and refactor 2021-02-09 13:17:11 +01:00
Bertrand Songis d219397c60 Merge remote-tracking branch 'origin/2.3' into wismy/racing_mode_rollback 2021-02-08 21:48:31 +01:00
Daniel c88999827f Compilation fix 2021-02-08 21:33:55 +01:00
Daniel 02e91afff2 Fix model menu 9x 2021-02-08 16:07:49 +01:00
3djc a11198bc72 Fix compilation 2021-02-03 08:26:09 +01:00
3djc 0970b44e8a Cosmetics 2021-02-02 16:21:14 +01:00
3djc 1067d642f3 Cosmetics 2021-02-02 16:19:17 +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 baa63a5424 add checkbox for racing mode 2021-01-30 15:15:29 +08:00
3djc fcb3f3de4c Fix 2021-01-26 13:24:25 +01:00
3djc 00b2b295ca 128 GUI 2021-01-26 13:01:20 +01:00
3djcandGitHub 1f01fa6d47 Radiomaster T8 (#8219) 2021-01-15 17:19:25 +01:00