Commit Graph
15899 Commits
Author SHA1 Message Date
jfrickmann da94cc64ff Merge branch 'VCENTER' into Everything 2021-07-24 17:32:48 -04:00
jfrickmann 1fc59ce31a Merged LuaScriptPreemption 2021-07-24 17:32:41 -04:00
jfrickmann b0732e1564 Don't kill the mixer scripts - just preempt them :-) 2021-07-22 15:39:01 -04:00
jfrickmann 5671838864 Cleaned up code for Mixer/Custom/Model scripts and added compiler directives 2021-07-22 15:11:12 -04:00
jfrickmann 76d2ef54e3 Fixing standalone scripts with preemption on colorlcd 2021-07-22 15:02:44 -04:00
jfrickmann dcac3cb9da Fixed Lua error messages in standalone and telemetry scripts - again. There is still a problem that the call to POPUP_WARNING in displayLuaError does not return and the gui goes dark on colorlcd. Could it be long jump? 2021-07-22 14:56:23 -04:00
jfrickmann c76532f33a Fixed Lua error messages in standalone and telemetry scripts. TODO: If a standalone script errors in init() on COLORLCD it just quits without showing error. Is that because it calls luaError from luaExec() in radio_tools.cpp instead of from luaTask() in standalone_lua.cpp? 2021-07-22 14:51:44 -04: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
jfrickmann 296acc6558 Code polishing 2021-07-22 08:03:48 -04:00
jfrickmann fd05bcab19 One swipe at a time
Added a timeout so we do not get a swipe storm during slide events
2021-07-22 08:03:28 -04:00
jfrickmann 61602d525b Improved swipe-onomics 2021-07-22 08:03:09 -04:00
jfrickmann 8b90754e95 Only one EVT_TOUCH_FIRST at a time 2021-07-22 08:02:53 -04:00
jfrickmann 0b9fd82074 Added touch events to Lua widgets 2021-07-22 08:02:33 -04:00
jfrickmann e1066af88c Added LuaWidget::onEvent(event) and LuaWidget::event to capture key events to be passed to the Lua widgets. 2021-07-22 08:01:29 -04:00
jfrickmann e3fb2ac6ea Added key event to fullscreen Lua widget 2021-07-22 08:01:08 -04:00
jfrickmann 2e129af9f1 Added VCENTER to lcd flags
Only for COLORLCD
2021-07-21 19:53:13 -04:00
Raphael Coeffic d3c16a89c4 Added "main" to the branches built automatically 2021-07-20 13:45:59 +02:00
Raphael Coeffic 648514dc50 Updated version for next release 2021-07-20 13:42:54 +02:00
Raphael CoefficandRaphael Coeffic 3eeca550da Wait 200ms after switching external module OFF on model change 2021-07-20 12:28:18 +02:00
Raphael CoefficandGitHub 86ad6391bf Merge pull request #474 from EdgeTX/fix-mixer-copy-paste
[color] fix mix/input copy/paste
2021-07-20 08:56:11 +02:00
Peter FeerickandGitHub 2fc38082de Merge pull request #472 from EdgeTX/fix-mpm-option-title
[color] Fix MPM option title==nullptr
2021-07-20 10:01:28 +10:00
Raphael Coeffic 8266948e09 Use static table to determine the existence of channel mapping option 2021-07-19 13:18:13 +02:00
Raphael Coeffic 36bddfb8d2 [color] MPM options: use static options rather than the dynamic ones
This is necessary until a broader solution is found to display real-time info coming from the MPM.
2021-07-19 13:10:53 +02:00
Raphael Coeffic 69283a7d5c [color] fix mix/input copy/paste 2021-07-19 12:36:11 +02:00
Raphael Coeffic 7b24018336 [color] Fix MPM option title==nullptr 2021-07-19 09:29:27 +02:00
Peter FeerickandGitHub 6eef71ddce Merge pull request #471 from EdgeTX/fix-mpm-dsm
[color] fixed MPM options (esp. DSM related)
2021-07-19 11:03:21 +10:00
Peter FeerickandGitHub da81546dc8 Merge pull request #428 from EdgeTX/safetyChecksAndHome
Run safety checks on model select and exit menu
2021-07-19 11:02:46 +10:00
Raphael Coeffic b553713527 Fixed german translation file (logic switches) 2021-07-18 19:49:12 +02:00
Raphael CoefficandGitHub bd4243f267 Merge pull request #457 from EdgeTX/I2C_STM32F4_HAL_Frankenmod
Fully rewrote I2C based on STM32F4 HAL
2021-07-18 12:54:56 +02:00
Raphael CoefficandGitHub 707f16e077 Merge pull request #466 from EdgeTX/luaDefaultTextColour
LcdColorIndex - Make default colour first entry
2021-07-18 12:45:57 +02:00
Raphael Coeffic c981f4f1db Another PR 461 cleanup 2021-07-18 12:45:14 +02:00
Raphael Coeffic 311c093133 PR 461 cleanup 2021-07-18 12:44:12 +02:00
Raphael CoefficandGitHub 958826ec8f Merge pull request #461 from eshifri/eshifri/timer
Fix timer edit and time display in logical switch edit
2021-07-18 12:43:11 +02:00
rotorman ef08fc019f Incremented GT911 configuration with +1 and stopped writing it to GT911 on init/start if the same version has already been flashed to GT911 (as previously). 2021-07-18 11:32:14 +02:00
Raphael Coeffic ed9bbc1f1f [color] fixed MPM options (esp. DSM related) 2021-07-18 09:52:48 +02:00
Peter Feerick 4430d17820 Replace image to resolve test error (CN) 2021-07-18 13:42:47 +10:00
Peter Feerick 82461505fd Replace image to resolve test error 2021-07-18 13:11:37 +10:00
RistoandGitHub 0423b8d286 Stop disabling interrupts while clearing ADDR bit 2021-07-17 14:40:28 +02:00
Peter Feerick 64b658371e Make default colour first entry
For functions/cases where the default colour is not specified
2021-07-17 18:24:05 +10:00
Peter FeerickandGitHub a5e0aab49b Merge pull request #463 from EdgeTX/mixOutputSaveName
TextEdit should trigger Model save, not Radio save
2021-07-17 11:42:17 +10:00
rotorman 5f0bac3dc9 Rewrore STM32F4 HAL_I2C_MspDeInit to not call HAL_GPIO_DeInit(), but only disable I2C GPIO with GPIO_Init(). 2021-07-16 18:40:52 +02:00
Peter Feerick acd84f917a TextEdit should trigger Model save, not Radio save 2021-07-16 21:11:23 +10:00
eshifri 00f3ec6eec Fix timer edit and time display in logical switch edit 2021-07-15 22:43:53 -07:00
rotorman a886c72a55 Cosmetics 2021-07-15 23:09:33 +02:00
rotorman b86745d8f4 Clear ADDR bit in atomic way. Not in original STM32F4 HAL.
Lower timeouts to more reasonable values.
2021-07-15 22:41:12 +02:00
rotorman 2ca5cc771c Added De-Init and Re-Init (in case this is ever required). 2021-07-15 21:34:20 +02:00
rotorman 8bfbb723f3 Integrated STM32F4 I2C HAL functions.
Changed old "I2C_SPEED" to "I2C_CLK_RATE" in order not to conflict with HAL.
Use TOUCH_INT again to gate touch sampling.
2021-07-15 19:25:31 +02:00
Raphael CoefficandGitHub 2599c773e2 Merge pull request #454 from EdgeTX/trim-fixes
Trim fixes
2021-07-15 16:27:35 +02:00
Peter FeerickandGitHub 25328e9465 Merge pull request #455 from EdgeTX/fixOutputWidgetNames
Make outputs widget use outputs names
2021-07-15 20:59:53 +10:00
Peter Feerick 237672122e Make outputs widget use outputs names 2021-07-15 19:34:22 +10:00