Commit Graph
17999 Commits
Author SHA1 Message Date
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
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
Richard Li e2842550eb Finalized boot loader for NV14. 2021-07-07 13:25:00 +08:00
Richard Li e9bb2122ad Fixed lcd driver. 2021-07-07 12:47:38 +08:00
Richard Li 6df1f8bdbe Fixed bootloader. 2021-07-07 12:14:21 +08:00
Richard Li cf161368ab Clean up something. 2021-07-07 11:40:44 +08:00
Richard Li 1d81db0113 Updated timer driver to use 1ms loop to compatible with nv14. 2021-07-07 10:39:16 +08:00
Peter FeerickandRaphael Coeffic f1ba56232a Use uint32_t values consistent with underlying data structures 2021-07-06 08:45:20 +02:00
Richard Li 2a55a286ed Fixed stick problem, the 1ms timer in nv14 target not working properly. 2021-07-05 18:51:16 +08:00
Richard Li 3a9571eeb8 Fixed SWB/SWD problem. 2021-07-05 16:55:34 +08:00
Richard Li e029160eb5 Merge branch 'nv14-build' of https://github.com/EdgeTX/edgetx into nv14-build 2021-07-05 11:42:50 +08:00
richardclliandGitHub 6eae66b352 Merge pull request #407 from EdgeTX/2.4
Merge 2.4 changes
2021-07-05 11:42:14 +08: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
Richard Li 88cbc53786 Stick loop should be called per 1ms. 2021-06-30 17:18:14 +08:00
richardclliandGitHub 2222ee75e8 Merge pull request #373 from EdgeTX/2.4
Merge from 2.4
2021-06-30 15:14:08 +08:00
Richard Li fe532f32fe Some more fixes. 2021-06-30 15:10:45 +08:00
Richard Li fac4009621 Audio driver fix. 2021-06-30 15:07:15 +08: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