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
2021-11-11 10:50:53 +10:00
2021-06-10 19:58:47 +02:00
2021-11-15 12:36:56 +11:00
2021-07-20 13:52:29 +02:00
2021-07-18 14:50:14 +10:00
2021-09-21 08:42:21 +02:00
2013-12-02 18:47:43 +01:00
2019-11-04 08:50:13 +01:00
2021-11-04 16:57:49 +11:00

GitHub release (latest by date) GitHub license Commit Tests Gitpod ready-to-code Discord Support us on OpenCollective

Welcome to EdgeTX!

The cutting edge open-source firmware for your R/C radio!

About EdgeTX

EdgeTX is the cutting edge of OpenTX. It is the place where innovative ideas and cutting-edge features are developed and field-tested by the enthusiasts of our hobby. EdgeTX is a community project – ideas from the community, developed by the community, and enjoyed by the community! The community will always have a say in what EdgeTX is and what EdgeTX will be in the future. Without community feedback and involvement EdgeTX cannot exist.

Community Guidelines

Installation Guide

Installation Video

FAQ

Reporting Issues / Requesting features

Development WIKI

Lua Documenation Site

Flasher Info Page

Flasher Downloads

SD Card Info Page

SD Card Downloads

Sound Packs Info Page

Sound Packs Downloads

EdgeTX Build Environment Docker Images

Community

Discord

Facebook

Github Discussions

Acknowledgements

Some icon assets provided by ICONS8.
Lua Documentation site powered with the kind support of GitBook.

S
Description
No description provided
Readme GPL-2.0
400 MiB
Languages
C 71.9%
C++ 25.4%
Python 0.9%
CMake 0.6%
Shell 0.3%
Other 0.7%