Commit Graph
15818 Commits
Author SHA1 Message Date
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
rotormanandRaphael 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
rotormanandRaphael 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
olliw42andRaphael Coeffic 2eef807fba avoid compile warning 2021-07-10 07:06:57 +02:00
Raphael CoefficandRaphael 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 CoefficandRaphael 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 FeerickandGitHub 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 MatiasandGitHub 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
3djcandRaphael Coeffic 88ef710ecb Better solution to silence warning on GCC 10
Imported from opentx/opentx#8605
2021-07-08 18:16:49 +02:00
RistoandGitHub 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 FeerickandRaphael Coeffic f1ba56232a Use uint32_t values consistent with underlying data structures 2021-07-06 08:45:20 +02:00
Peter FeerickandGitHub 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 FeerickandGitHub 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
RistoandGitHub f604fed503 Try fix X12S RTC battery sampling 2021-07-03 13:48:02 +02:00
RistoandGitHub 660a4443b9 Merge branch 'EdgeTX:2.4' into 2.4 2021-07-03 13:44:41 +02:00
Raphael CoefficandRaphael Coeffic 4667b29698 [color] fix attempt for GT911 touch sensor driver
This fix contains 2 modifications:
- poll GT911_READ_XY_REG for 20ms in case not yet ready
- write 0 to GT911_READ_XY_REG in all cases

These fixes are largely inspired from the Linux GT9xx driver (see https://gitlab.com/AdyaAdya/goodix-touchscreen-linux-driver/-/blob/master/goodix.c)
2021-07-03 08:16:33 +02:00
eshifriandGitHub d878efb376 range mode RSSI (fix for #356) (#377)
* Range mode RSSI (Fix for #356 )

* Formatting
2021-07-01 15:22:54 +02:00
eshifriandGitHub 2aa52965a9 Highlite active inputs and mixies (#337). Take 2. (#361)
* Highlight active inputs and mixies (#337)
2021-06-29 08:55:32 +02:00
Raphael CoefficandRaphael Coeffic 2650821475 Fix timer countdown time setting
Resolves #358
2021-06-28 14:14:57 +02:00
RistoandGitHub 129866488d Voice timer countdown fix (#362)
* Fix mapping of 2 bit signed countdownStart value to seconds

value -2 - 5 seconds
value -1 - 10 seconds
value 0 - 20 seconds
value 1 - 30 seconds
2021-06-28 09:03:12 +02:00
Raphael CoefficandRaphael Coeffic 79eee634fd [color] set focus on current model or close to the current operation
Resolves #345
2021-06-28 09:00:12 +02:00
olliw42andRaphael Coeffic 32aad89cf3 isAux2ModeAvailable called incorrectly, always did return true 2021-06-28 08:59:34 +02:00
Raphael CoefficandRaphael Coeffic a67b61406f Removed "Disabled RSSI alarm" warning 2021-06-28 08:58:28 +02:00
RistoandGitHub 8efe5e767e RTC bridge fix (#360)
* RTC bridge fix

Merged code by @bsongis from https://github.com/opentx/opentx/pull/8577
2021-06-28 08:46:27 +02:00
Peter FeerickandGitHub 84a6cece48 Add the missing 'S' to X-Lite and X9 Lite 2021-06-28 08:54:35 +10:00
RistoandGitHub 94fbcdd3f4 Merge branch 'EdgeTX:2.4' into 2.4 2021-06-27 13:51:34 +02:00
Raphael Coeffic 831ec1751c Add X9lite-S and Xlite-S 2021-06-27 12:48:28 +02:00
Raphael CoefficandGitHub adde1160b4 [color] enable insta trim on all views (#347)
* [color] enable insta trim on all views

Resolves #342

* Removed warning for colorlcd
2021-06-27 12:28:42 +02:00
olliw42andRaphael Coeffic 1dafc3aacc telem item: let it blink 2021-06-26 06:37:59 +02:00
Peter FeerickandRaphael Coeffic edbec9f35e Updated getVersion luadoc and example output
Finished updated lua docs for getVersion() api change,
verified functionality and grabbed simulator output,
removed magic string and used a define instead.
2021-06-26 06:36:35 +02:00
PeterandRaphael Coeffic 74222fe74d Lua scripts can detect EdgeTX via getVersion
Add a sixth parameter to getVersion so that scripts 
can detect whether running on EdgeTX or OpenTX. 

i.e. `local ver, radio, maj, minor, rev, osname = getVersion()`
2021-06-26 06:36:35 +02:00
Peter FeerickandRaphael Coeffic 998cc868da Don't use menu bg colour for inactive SF/GF state 2021-06-26 06:32:59 +02:00
olliw42andRaphael Coeffic 5d9498e88b avoid compile warning 2021-06-23 18:20:44 +02:00
olliw42andRaphael Coeffic 334a29c09b volt is V 2021-06-23 18:18:10 +02:00
Raphael Coeffic efc947da63 Changed "About" screen 2021-06-23 16:26:40 +02:00
Raphael Coeffic 68cb9c2d92 [color] Patch unavailabel global/special function if not available
Resolves #295
2021-06-23 12:49:42 +02:00
Raphael Coeffic 6126241f0b Revert "Further protection"
This reverts commit 751bb6127d.
2021-06-23 12:45:13 +02:00
Raphael Coeffic cdd6d18d29 Fixed trims display depending on stick mode
Resolves #287
2021-06-23 12:39:47 +02:00
Raphael Coeffic 78db9bcdca [color] Add minutes to GPS position display
Resolves #281
2021-06-23 08:29:24 +02:00
Raphael Coeffic dc07cf5719 Fix telemetry reset menu
... when called from main view 2+ (first screen was fine).
2021-06-23 07:05:41 +02:00
Raphael CoefficandGitHub 582f399a2f Merge pull request #309 from EdgeTX/fix-isrm-pulses
Fix isrm pulses
2021-06-23 07:01:57 +02:00
Raphael Coeffic f3a01d7ee7 Fixed missing sliders on main screen and calibration 2021-06-23 06:43:26 +02:00
Raphael Coeffic 063eef1eeb Updated libopenui
Resolves #197
2021-06-23 06:42:30 +02:00
3djcandRaphael Coeffic 751bb6127d Further protection 2021-06-23 06:28:17 +02:00
3djcandRaphael Coeffic 90c730d5da Fix pulse timing issue 2021-06-23 06:27:39 +02:00