Commit Graph
20257 Commits
Author SHA1 Message Date
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
Peter Feerick 232dabdb0b Prevent pre-flight checklist focus blocked 2021-07-15 13:30:55 +10:00
Peter Feerick 46b3f07f70 Only reset flags on module being enabled 2021-07-15 12:59:42 +10:00
Peter Feerick e745ea254a Clear module flags and failsafeChecked on enable
Clearing the MPM capability flags and failsafeChecked resolves the
issue with false failsafe not set warnings. Needs further testing to see
if it causes any other issues.
2021-07-15 12:59:42 +10:00
Peter Feerick b98f03184f No need to re-run update as not updating menu
Also removes slight UI flicker/lag
2021-07-15 12:59:42 +10:00
Peter Feerick c04cd509a8 Run safety checks on model select and exit menu 2021-07-15 12:59:42 +10: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
Richard Li e54f2f4c0a Fixed build problems after merging from 2.4 2021-07-14 15:14:29 +08: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
richardclliandGitHub 85723fac20 Merge pull request #447 from EdgeTX/2.4
Merge from 2.4 branch
2021-07-14 10:41:13 +08: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 4aade1d0da [FileChoice] added missing include 2021-07-13 09:12:55 +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 3f6f488180 [FileChoice] eject duplicates 2021-07-13 08:42:34 +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 CoefficandGitHub 0b7b48a1e1 Merge pull request #7 from olliw42/owpr-specialchars
Add extra characters capability to TextEdit class
2021-07-12 07:46:21 +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