Commit Graph
15865 Commits
Author SHA1 Message Date
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
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
Raphael Coeffic 000836a018 [color] Fix vertical trims as well 2021-07-15 11:32:07 +02:00
Raphael Coeffic cdbc62c559 [color] clip trim value displayed based on range set.
Resolves #443
2021-07-15 10:46:44 +02:00
Raphael Coeffic c1486c8780 Adjust audio announcements on trim limits 2021-07-15 10:45:57 +02:00
Raphael Coeffic a268a9a1d7 [color] Fixed throttle trim switch setting 2021-07-14 19:22:56 +02:00
Raphael CoefficandGitHub 762ce4ce1f Merge pull request #436 from EdgeTX/mixer-scripts-ui
[color] mixer scripts screen
2021-07-14 18:46:02 +02:00
Raphael Coeffic ed59ce2819 [color] fixed displayed trim range 2021-07-14 14:25:12 +02:00
Raphael CoefficandRaphael Coeffic 90bd1b6329 Unify throttle source check/conversion code 2021-07-14 13:54:12 +02:00
Raphael CoefficandRaphael Coeffic 2cbc7a6209 [color] fix throttle source 2021-07-14 13:54:12 +02:00
Raphael Coeffic 6d11fa8033 [lua] Fix sensor max and min matching
Resolves #442
2021-07-14 08:45:00 +02:00
Raphael Coeffic f026670065 [ViewText] fix compiler warnings 2021-07-14 07:59:52 +02:00
Raphael Coeffic 6b7a573ec7 Compilation fix for FRSKY_RELEASE 2021-07-14 07:47:50 +02:00
eshifriandGitHub 64f277152c Implement View Text (#406)
* View text and code cleanup

* Typo fix

* Fixed case generation

* check list fixed

* Horizontal clipping fixed

* Lost letter fixed.

* Cleanup

* Unified implementation (Rotory button support)

* Fixed USB menu issue and RTN button.

* Rotary encoder acceleration implemented

* Do not close file on every line read

* Sliding window implemented. File size limitations practically removed.

* scrollbar implemented

* Cleanup & scroll bar adjustment

* Cleanup

* Smoother scrolling for long lines.

* Minor cleanup
2021-07-14 10:46:42 +10:00
Raphael Coeffic ea6b9a38dd Updated libopenui with include fix 2021-07-13 09:13:19 +02:00
Raphael Coeffic a93c543576 Display proper script status and custom name 2021-07-13 09:11:06 +02:00
Raphael Coeffic 34fa23d423 Display only unique names (regardless of extension .lua or .luac) 2021-07-13 08:44:30 +02:00
Raphael Coeffic a6674ae236 [color] mixer scripts screen
Todo:
- display only one of .lua/.luac in filechoice
- display proper script status on list page
2021-07-13 08:40:17 +02:00
Peter FeerickandGitHub 38a99bca23 Merge pull request #440 from olliw42/owpr-compwarn2again
avoid compile warning
2021-07-13 11:13:51 +10:00
olliw42 cf4b5b014e avoid compile warning 2021-07-13 02:59:33 +02:00
olliw42andRaphael Coeffic 24f8554590 adopt comment, use const char 2021-07-12 20:07:59 +02:00
olliw42andRaphael Coeffic 621dddf1ee add extra_chars to model setup, model name text edit field 2021-07-12 20:07:59 +02:00
olliw42andRaphael Coeffic bb2ed31e56 update submodule libopenui 2021-07-12 20:07:59 +02:00
RistoandGitHub 0cd99cf0c9 Merge pull request #320 from olliw42/owpr-modelselection2
Consistify icons for model setting, select, and category
2021-07-12 14:51:07 +02:00
Raphael Coeffic 068c1a0f11 Renamed "hiccups" to "TSI2CEvents"
And use uint32_t for counting them.
2021-07-12 08:58:54 +02:00
Peter FeerickandRaphael Coeffic da661a6e03 Clear signed/unsigned comparision compiler warning
STL list is uint, vs int of index being compared
2021-07-12 08:21:48 +02:00
Peter FeerickandRaphael Coeffic 9cd4477495 Save current category when selecting model 2021-07-12 08:21:48 +02:00
Raphael CoefficandRaphael Coeffic bdee14297e [color] Fix vario settings range 2021-07-12 07:30:13 +02:00
Raphael CoefficandGitHub c20d3fa2af Merge pull request #427 from EdgeTX/TouchLockupReset
Touch Lockup Recovery
2021-07-12 07:27:13 +02:00
Raphael Coeffic 52acfcd20d Quick & dirty polling mode (don't care about INT line) 2021-07-11 17:43:31 +02:00
Raphael Coeffic 49ae57d370 Take account of some corner cases in I2C multi-byte read
See https://github.com/geoffreymbrown/STM32-Template/blob/master/Library/i2c.c#L39 and RM0090 p851-853.
2021-07-11 14:30:43 +02:00