Commit Graph
100 Commits
Author SHA1 Message Date
Raphael Coeffic 068c1a0f11 Renamed "hiccups" to "TSI2CEvents"
And use uint32_t for counting them.
2021-07-12 08:58:54 +02:00
Raphael CoefficandRaphael Coeffic bdee14297e [color] Fix vario settings range 2021-07-12 07:30: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
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
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
Raphael CoefficandRaphael Coeffic 2650821475 Fix timer countdown time setting
Resolves #358
2021-06-28 14:14:57 +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
Raphael CoefficandRaphael Coeffic a67b61406f Removed "Disabled RSSI alarm" warning 2021-06-28 08:58:28 +02:00
Raphael Coeffic 831ec1751c Add X9lite-S and Xlite-S 2021-06-27 12:48:28 +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 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
Raphael Coeffic b1768afc36 [color] reset clipboard on page tab switch
Resolves #301
2021-06-22 21:40:47 +02:00
Raphael Coeffic c2908e67d2 [color] Init serial mode properly 2021-06-22 20:37:54 +02:00
Raphael Coeffic 53261ad067 Removed waiting for serial queue
triggers emergency mode in case serial port has not been enabled.
2021-06-22 20:36:50 +02:00
Raphael Coeffic 78279e0df5 Add setting for keys backlight
Resolves #240
2021-06-22 13:50:47 +02:00
Raphael Coeffic 0adf52fa91 Fixed sensor edit page
Resolves #292
2021-06-22 13:06:58 +02:00
Raphael Coeffic 5e08f1c1b2 [color] Fixed lateral cyclic source/weight editing
Resolves #290
2021-06-21 10:34:07 +02:00
Raphael Coeffic 78a0a45716 Trigger build on tags as well 2021-06-20 20:08:46 +02:00
Raphael Coeffic 0011eebffa Fix attempt for locked touch
Thx Jakub!
2021-06-20 19:00:48 +02:00
Raphael Coeffic dc49c662ca [Color] delete first all widgets before loading the new ones 2021-06-20 19:00:12 +02:00
Raphael Coeffic 3472bbdc78 Fixed 2 lines display of GPS values 2021-06-20 10:35:35 +02:00
Raphael Coeffic 3b31784872 Fixed value widget colors 2021-06-20 09:33:27 +02:00
Raphael Coeffic f3b50c177c Fixed cluttered GPS display if right-aligned. 2021-06-20 09:32:10 +02:00
Raphael Coeffic 1d050efa6d Fix cluttered GPS position display
Resolves #273
2021-06-20 08:29:20 +02:00
Raphael Coeffic 9737ce80ff Fixed Adjust GVAR special function
Resolves #277
2021-06-20 08:08:23 +02:00
Raphael Coefficandeshifri 83375befc1 Fix displaying ModelBmp on small surfaces
Resolves #269
2021-06-19 11:09:48 -07:00
Raphael Coeffic 9ecccef315 Call LuaWidget background() if widget is not painted
Resolves #222
2021-06-19 17:47:47 +02:00
Raphael Coeffic 869bcc09b7 Fix displaying ModelBmp on small surfaces
Resolves #269
2021-06-19 17:05:55 +02:00
Raphael Coeffic 3baa932f47 Add special function parameter for "Adjust" function
Resolves #253
2021-06-19 16:55:35 +02:00
Raphael Coeffic afe7c13b8b Fix conversion of input line name, curve names, and write radio.bin to disk early
Resolves #264
Resolves #255
2021-06-19 16:25:20 +02:00
Raphael Coeffic 82f60cdc81 Fix model names on model select page with not yet converted models
Resolves #248
2021-06-19 14:49:05 +02:00
Raphael Coeffic fd02387cf2 Restored proper data format for splashMode
Resolves #236
2021-06-19 14:01:47 +02:00
Raphael Coeffic 0d5504686e Remove widgets from the layout as a FormGroup as well
and fix the focus order pointers.

Resolves #257 and potentially more.
2021-06-19 12:07:55 +02:00
Raphael Coeffic d02298c61c Fixed menu body height
Resolves #211
2021-06-17 09:03:00 +02:00
Raphael Coeffic 64e2b25a1f Fixed layout update when "Mirror" option is changed
Resolves #230
2021-06-17 08:50:19 +02:00
Raphael Coeffic b3289ae5d4 Fixed T2 / T3 display
Resolves #232
2021-06-17 08:41:12 +02:00
Raphael Coeffic 87610b8449 Fixed logical switch V2 edit value range
Resolves #231
2021-06-17 08:37:13 +02:00
Raphael Coeffic eacc6e04ff [Color] make it a slow disco on telemetry screen
Resolves #234
2021-06-17 08:29:57 +02:00
Raphael Coeffic 6b59660225 Fixed trainer special function parameter assignement
Resolves #203
2021-06-16 22:31:41 +02:00
Raphael Coeffic d10563d08b Fixed more zchar / string copy errors
Resolves #224
2021-06-16 18:00:42 +02:00
Raphael Coeffic da8e1022a0 ModelBmp hotfix 2021-06-16 18:00:23 +02:00
Raphael Coeffic 368709288f Added X9D & T18 to the targets in fw.json 2021-06-16 08:21:22 +02:00
Raphael Coeffic a0090f4e00 [Color] Prevent ModelBmp from reloading the bitmap when not needed
Resolves #214
2021-06-16 05:47:40 +02:00
Raphael Coeffic 8cc5e77775 [Color] disabled PowerMeter and Ghost tool for now 2021-06-15 17:37:46 +02:00
Raphael Coeffic 8b92b3be98 [Color] Some SD manager fixes 2021-06-15 17:37:13 +02:00
Raphael Coeffic 60517df349 Removed necessity for lcd allowance in lcd.setColor() and lcd.getColor() 2021-06-15 16:24:54 +02:00
Raphael Coeffic b8511a2b22 Fix lcd.RGB()
It does not require access to lcd, so let's not check that.
2021-06-15 16:19:43 +02:00
Raphael Coeffic 95c65772e4 Added X9D (not "+") 2021-06-15 15:42:24 +02:00
Raphael Coeffic ba7ce9e911 Fixed model select frame size calculation
Resolves #219
2021-06-15 12:01:28 +02:00
Raphael Coeffic 5471b233f2 Fix models list loading
Resolves #218
2021-06-15 11:59:52 +02:00
Raphael Coeffic c55d915d56 Fixed MPM proto subtype reset on subtype change 2021-06-15 06:15:53 +02:00
Raphael Coeffic 4dd8692191 Added GT911 config as provided by Jumper (not yet correct ATM) 2021-06-14 19:57:35 +02:00
Raphael Coeffic 7789f5547c Added touch support for T18
Resolves #138
2021-06-14 19:57:35 +02:00
Raphael Coeffic f3fbed5a1b Fixed AUX serial definition in auxSerialSetup() 2021-06-14 17:45:43 +02:00
Raphael Coeffic dea8b3717b Fixed memory leak with model select bitmap 2021-06-14 17:22:17 +02:00
Raphael Coeffic 058a44c9a7 Fix compiler warning 2021-06-14 17:21:42 +02:00
Raphael Coeffic b610b22328 Fixed custom failsafe screen 2021-06-14 16:59:37 +02:00
Raphael Coeffic 3179dc6bf1 Fix scrolling issue on input edit page 2021-06-14 16:08:24 +02:00
Raphael Coeffic 2bb76f14d4 Fixed telemetry refresh 2021-06-14 14:38:03 +02:00
Raphael Coeffic 13de840ee0 Last round fixes 2021-06-14 13:48:48 +02:00
Raphael Coeffic a535bfea18 Fixed TOOLS according to style guidelines 2021-06-14 11:15:25 +02:00
Raphael Coeffic 7bb8254197 Fix header white pixel 2021-06-14 06:53:40 +02:00
Raphael Coeffic 236cf3fd43 Updated libopenui 2021-06-14 06:35:57 +02:00
Raphael Coeffic ecf792f3e7 Fixed page header text colors 2021-06-14 06:34:58 +02:00
Raphael Coeffic ddd5261ad7 Fix font color for radio calibration page header 2021-06-14 06:34:57 +02:00
Raphael Coeffic 8a1687c294 Fixed some masks/bitmaps 2021-06-14 06:34:57 +02:00
Raphael Coeffic 490cf003a3 Facelift round 4 2021-06-14 06:34:57 +02:00
Raphael Coeffic cf1d83351c Try without focus marker on model name 2021-06-14 06:34:57 +02:00
Raphael Coeffic a4a816720f Some more fixes / tweaking 2021-06-14 06:34:57 +02:00
Raphael Coeffic cd815232ee Facelift round 3 2021-06-14 06:34:57 +02:00
Raphael Coeffic 85bc612f4a Facelift round 2 2021-06-14 06:34:57 +02:00
Raphael Coeffic 57aa76c424 Default Theme facelift 2021-06-14 06:34:57 +02:00
Raphael Coeffic 26b15d4d43 Fixed issue with background on slide between view
If no background image has been set.
2021-06-14 06:32:47 +02:00
Raphael Coeffic 4965927d39 B/W: make shutdown confirmation depending on the issue at hand
Resolve #199
2021-06-13 12:51:55 +02:00
Raphael Coeffic e4ee685a16 update libopenui 2021-06-12 21:33:14 +02:00
Raphael Coeffic c28f61c646 Reload LUA widgets before resuming the UI 2021-06-12 07:52:20 +02:00
Raphael Coeffic 78915daf95 Fixed memory leak: widget factories need to be deleted
in opentxClose()
2021-06-12 07:38:31 +02:00
Raphael Coeffic c37bc91475 Unregister LUA widgets when the factory is destoyed
Resolves #183
2021-06-12 07:38:30 +02:00
Raphael CoefficandRaphael Coeffic e050aca5a0 SetupWidgetPage: fix forwarding touch events to children
Resolves #189
2021-06-12 07:24:05 +02:00
Raphael Coeffic 66eda14cc4 More decent shutdown animation 2021-06-11 13:34:51 +02:00
Raphael Coeffic ff4776b40d Use only the logo and background color as Splash screen. 2021-06-11 12:06:04 +02:00
Raphael Coeffic 430902ae6f Prevent USB pop-up items to be added multiple times
Resolves #184
2021-06-11 07:01:15 +02:00
Raphael Coeffic 4627b3c324 Compute model select window height properly
Resolves #180
2021-06-10 20:20:56 +02:00
Raphael Coeffic 1bf6ada539 Use a more generic error icon
Thx to https://icons8.com
2021-06-10 19:58:47 +02:00
Raphael Coeffic 4bcb703345 Moved even more bitmaps to flash 2021-06-10 19:58:47 +02:00
Raphael Coeffic b661568dbe Fix bitmap deps 2021-06-10 19:58:47 +02:00
Raphael Coeffic 2e77f23da4 Use compressed splash image 2021-06-10 19:58:47 +02:00
Raphael Coeffic fac069cd21 add_png_target 2021-06-10 19:58:47 +02:00
Raphael Coeffic 8e0ed1482f Load calibration bitmaps from flash memory 2021-06-10 19:58:47 +02:00
Raphael Coeffic 28718d9420 Added missing bitmap deps 2021-06-10 19:58:47 +02:00
Raphael Coeffic 751be22007 Moved default theme masks into firmware 2021-06-10 19:58:47 +02:00
Raphael Coeffic 8336647ecc Removed radio calibration bitmap 2021-06-10 19:58:47 +02:00