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 Coeffic and GitHub
2599c773e2
Merge pull request #454 from EdgeTX/trim-fixes
...
Trim fixes
2021-07-15 16:27:35 +02:00
Peter Feerick and GitHub
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 Coeffic and GitHub
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 Coeffic and Raphael Coeffic
90bd1b6329
Unify throttle source check/conversion code
2021-07-14 13:54:12 +02:00
Raphael Coeffic and Raphael 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
eshifri and GitHub
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 Feerick and GitHub
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
olliw42 and Raphael Coeffic
24f8554590
adopt comment, use const char
2021-07-12 20:07:59 +02:00
olliw42 and Raphael Coeffic
621dddf1ee
add extra_chars to model setup, model name text edit field
2021-07-12 20:07:59 +02:00
olliw42 and Raphael Coeffic
bb2ed31e56
update submodule libopenui
2021-07-12 20:07:59 +02:00
Risto and GitHub
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 Feerick and Raphael 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 Feerick and Raphael Coeffic
9cd4477495
Save current category when selecting model
2021-07-12 08:21:48 +02:00
Raphael Coeffic and Raphael Coeffic
bdee14297e
[color] Fix vario settings range
2021-07-12 07:30:13 +02:00
Raphael Coeffic and GitHub
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
rotorman and Raphael Coeffic
8c7f3cecec
* removed red LED
...
* added GT911 fw version and hiccup cound output to analogs page
* changed I2C to 400 kHz
* changed X Y threshold to 1
* added trace output
* fixed bool / uint8_t errors
2021-07-11 13:04:13 +02:00
rotorman and Raphael Coeffic
2c65b21355
Based on PR #408 ff34616 that according to @rcvideoreviews on Discord works.
...
Added:
* @olliw42 PR #415 STOP condition fix.
* @raphaelcoeffic EXTI_Trigger_Rising
* fixed some uint8_t bool confusions
* added volatile to touchEventOccured that is set from ISR and accessed from main code
* changed to upload GT911 config also if config version is the same
2021-07-11 13:04:13 +02:00
olliw42 and Raphael Coeffic
2eef807fba
avoid compile warning
2021-07-10 07:06:57 +02:00
Raphael Coeffic and Raphael Coeffic
e75bd64d54
Simplify pulses code with respect to period settings with PXX1 and PXX2
...
And a bit of clean-up.
2021-07-09 14:26:26 +02:00
Raphael Coeffic and Raphael Coeffic
938679da2f
Use longer period for PXX2 modules triggered by heartbeat signal and reset timer early
...
This allows to cope for the different frame rates used by ACCESS and ACCST modes. See opentx/opentx#8601 for details.
2021-07-09 14:26:26 +02:00
Peter Feerick and GitHub
dbc7e40765
Merge pull request #424 from EdgeTX/fixMMsubProtocol
...
Reset MultiProtocol subType reset to zero on protocol change
2021-07-09 20:20:14 +10:00
Julio Cesar Matias and GitHub
12946fe70c
Dump Improvement ( #423 )
2021-07-09 20:19:28 +10:00
Peter Feerick
9afd2e4fba
Reset MultiProtocol subType reset to zero on protocol change
...
Resolves #410 by ensuring an out of range sub-protocol is not set
when the protocol is changed. Stops the module from complaining
about an invalid protocol, as well as stops simu from crashing.
2021-07-09 15:29:50 +10:00
3djc and Raphael Coeffic
88ef710ecb
Better solution to silence warning on GCC 10
...
Imported from opentx/opentx#8605
2021-07-08 18:16:49 +02:00
Risto and GitHub
7f472ff5e8
Merge pull request #396 from rotorman/X12S_RTC
...
Enable VBat bridge to enable RTC coin cell sampling on X12S
2021-07-07 10:36:28 +02:00
Richard Li
17ed43d0d0
Fixed flysky hall stick mod problem in T16.
2021-07-07 13:48:32 +08:00
Peter Feerick and Raphael Coeffic
f1ba56232a
Use uint32_t values consistent with underlying data structures
2021-07-06 08:45:20 +02:00
Peter Feerick and GitHub
6ded23f26b
Reset logical switch v2 range if v1 changes (PR #383 )
...
* Reset logical switch v2 range if v1 changes
Use the v1 handler to update v2 range if the v2 source box has already
been created, so that the min/max values are updated from the default.
* Move invalidate, add bounds checking for v2 range
* Out of range check doesn't need to be inclusive
* Remove range check as is inconsistent with buggy B&W behaviour
2021-07-05 09:04:06 +10:00
Peter Feerick and GitHub
797c3f175a
Show RSSI if RF Freq Fine tuning supported (PR #379 )
...
* Show RSSI if RF Freq Fine tuning supported
* Increase buffer slightly, add whitespace
* Use same buffer size and naming for consistency
* Use shorter code that doesn't require buffer variable (Thanks to @eshifri for the hint about DynamicNumber)
2021-07-05 09:03:00 +10:00
Risto and GitHub
f604fed503
Try fix X12S RTC battery sampling
2021-07-03 13:48:02 +02:00
Risto and GitHub
660a4443b9
Merge branch 'EdgeTX:2.4' into 2.4
2021-07-03 13:44:41 +02:00