Commit Graph
4274 Commits
Author SHA1 Message Date
philmozandGitHub 73e240f365 feat(color): Natural number sort order for SD card file browser (#2870) 2022-12-18 14:59:13 +10:00
philmozandGitHub 0be85bbad1 fix(color): Restrict time/date to valid values, check for changed values before updating screen (#2884)
* Fix RTC date editing to limit day max value to actual number of days in the selected month.
If month or year is updated check that day value is still in range, if not update day to max value for selected year and month.
Only update UI values that have actually changed.

* Use struct assignment instead of memcpy to initialise property.
2022-12-18 14:40:31 +10:00
Malte LangermannandGitHub 2b00583f46 fix(ui): Check object exists access before accessing it (#2886) 2022-12-18 12:21:30 +10:00
philmozandGitHub a1c55a5b02 chore: Cleanup some compiler warnings (#2864) 2022-12-16 10:24:28 +10:00
Malte LangermannandGitHub f101a9665b fix(color): Don't trigger RTC write every second, update all fields (#2867)
Also all fields should be updated, not just the seconds
2022-12-15 10:28:05 +10:00
philmozandGitHub 2c47d5440c fix(ui): Tweak mixer overview layout for long names (#2851)
* Fix Mixer layout on color lcd screen to accommodate long input names.
* Adjust layout for portrait orientation.
2022-12-14 19:33:16 +10:00
Raphael CoefficandGitHub 06c359f096 feat(ACCESS): Configure AUX serial port as "External module" (#2562)
* Enable RX DMA on external module USART

* feat(ACCESS): configure AUX serial port as "External module" (#2562)

This allows configuring the external access mod on runtime rather than by compilation option.

* fix: fetch external module driver
2022-12-14 18:41:32 +10:00
Raphael CoefficandRaphael Coeffic 042d5091f2 HAL/LL: Generic EXTI & trainer driver
Changes:
- generic EXTI driver
- generic trainer driver
- relocated rotary encoder timer (simple 100us delay) from TIM4 to TIM12
- taranis & horus use now TIM4 for trainer pulses
- serial driver handles periph clocks for UARTs

TODO:
- SBUS on heartbeat pin (USART or soft-serial)
2022-12-10 13:37:31 +01:00
philmozandGitHub d4cd3d0ddf fix(color): Fix top bar timer widget names sometimes having garbage characters (#2835)
Limit length of name text drawn in small size timer widget to prevent random characters appearing
2022-12-10 15:48:36 +10:00
Malte LangermannandGitHub 5d3e37e08c chore(color): Update Special Functions edit screen to LVGL (#2745) 2022-12-06 20:05:34 +10:00
1fe9de6d79 feat(color): Display current stick position on CurveEdit screen (#2580)
* Display current stick position on the CurveEdit screen

* auto source selection

* Display current stick position on the CurveEdit screen

* auto source selection

* unlock source when entering directly
 from model menu.

* Whitespace

* Git EoF newline

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-12-06 20:04:47 +10:00
ulfhedlundandGitHub 3a32f8fd3d chore(translation): Make "Check FM Trims" tranlsatable on colorlcd (#2800)
* Check FM Trims translateable

* Check FM Trims translated for color radios

TR_CHECKTRIMS separated for BW and color radios.

* Updated TR_CHECKTRIMS for color radio

* Updated TR_CHECKTRIMS for color radio

* Updated TR_CHECKTRIMS for color radios

* Minor format change

* Updated TR_CHECKTRIMS for color radios

* Updated TR_CHECKTRIMS for color radios

* Updated TR_CHECKTRIMS

* Minor change only

* Updated TR_CHECKTRIMS for color radios

* Corrected minor mistake

* Updated TR_CHECKTRIMS for color radios

* Update jp.h

* Update cz.h

Changed octal characters in TR_CHECKTRIMS for BW radios to be in line with all other languages
2022-12-05 20:42:34 +10:00
Malte LangermannandGitHub d134e1a840 chore: Fix a bunch of compile warnings (#2748)
* chore: fix warnings for simu and firmware, part 1

* chore: fix warnings
2022-12-05 20:41:42 +10:00
eshifriandGitHub a267520236 fix(color): Initialise theme variables to nullptr before first use (#2787) 2022-11-25 10:09:16 +10:00
Malte LangermannandGitHub 328fba76b4 fix(ui): Superfluous and invalid attribute initialisation (#2747)
* fix(ui): fixed a memopry leak and a waring in topbar.cpp
* fix: Restore ScreenMenu on exit of topbar widget setup
2022-11-23 16:04:01 +10:00
eshifriandGitHub 940f955bbc fix(color): Refresh color picker labels when chg between HSV and RGB (#2774) 2022-11-22 20:14:48 +10:00
eshifriandGitHub 8d16d17875 fix(color): Use correct default for Outputs PPM Center popup keyboard (#2759) 2022-11-18 13:24:22 +10:00
37b1b2ee28 fix: Always show GPS button in radio setup (#2732)
* fix: Always show GPS button in radio setup
It is related to GPS telemetry, not internal GPS.
This probably needs to implemented differently in the future.

* de optimization (#2737)

* de optimization

since the GPS button is now displayed by default (#2732), the labels for the "Alarms" and "LCD" are much too long and thus GPS is pushed into a new line. This looks unattractive and is a waste of space

* Update de.h

* chore: Cleanup

Co-authored-by: ParkerEde <ralf@krusecity.de>
2022-11-16 20:16:04 +10:00
Raphael CoefficandGitHub 9796c968f4 fix(MSD): confirmation dialog properly shown (#2743)
Prior to this fix, the confirmation dialog would crash because of an issue in libopenui and even then would not be displayed for the lack of the proper parent window.

Fixes #2741
2022-11-16 19:49:52 +10:00
Raphael CoefficandGitHub 4574fc6b39 fix(crsf): internal module baudrate (#2717) 2022-11-13 13:18:52 +10:00
richardclliandGitHub 320ff206b9 fix: Correction to one of the AFHDS3 mode names (#2710) 2022-11-11 22:23:37 +10:00
eshifriandGitHub 8caca6b129 fix(color): 6POS display on the main and calib. screens (#2684)
* Fix 6POS switch display on the main and calibration screens

* remove unnecessary TRACE()
2022-11-06 15:56:38 +10:00
3djcandGitHub 1738851a46 fix(ghst): Fix Ghost module remote menu for radios with rotenc (#2618) 2022-11-06 09:47:14 +10:00
Peter FeerickandGitHub 579758a221 fix(color): Outputs lines not updating after reset (#2661)
`invalidate` is not updating all the line elements
2022-11-05 20:25:36 +10:00
Peter FeerickandGitHub 8ce3612f9d chore: Translate some more radio firmware elements (#2607)
* feat: Translate time modes using exist. trans. str

* fix: Define `STR_MONTHS` once not four times

* fix: Translatify `Show mixer monitors` toggle

* chore: Add `TR_THROTTLE_START`

* chore: Update `IT`

* chore: Update `DE`
2022-11-01 13:12:06 +10:00
ulfhedlundandGitHub bea7dade53 chore(color): Add translation for left stick (#2655)
* TR_LEFT_STICK added

* STR_LEFT_STICK added

* Added translation for stick mode

* TR_LEFT_STICK added

* Minor cleanup - removed one commented line of code

* Replaced radio specific define

* Added proper translations from translators

* chore: Whitespace cleanup
2022-11-01 12:01:59 +10:00
Raphael CoefficandGitHub 370aff619f fix(color): EXIT key handling (#2658)
This issue has been introduced in #2573.
2022-10-31 20:41:37 +10:00
Raphael CoefficandGitHub 40caa999f4 fix(color): prevent event bubbling in Page and TabsGroup (#2642)
... otherwise unexpected things happen
2022-10-31 17:46:31 +10:00
Raphael CoefficandGitHub 93ec316a4b feat: Prevent OFF for internal module in hardware settings (#2654)
* Prevent OFF for internal module in hardware settings

* chore: Change "Mode" to "Type"
2022-10-31 13:39:42 +10:00
Raphael CoefficandGitHub 61a69d5626 fix(isrm): add module options to ISRM/D16 (#2644)
Fixes #2597
2022-10-31 10:48:33 +10:00
eshifriandGitHub d372cfa010 fix(color): Disable invalid PG_UP and PG_DN handling on widget setup screen (#2630) 2022-10-26 11:53:03 +10:00
eshifriandGitHub b86fbca8b1 fix(color): Re-add "save as template" to model select (#2628) 2022-10-26 11:43:20 +10:00
Malte LangermannandGitHub 50c81670f6 fix(gui): stack vertical slider display instead of drawing them next to each other (#2623)
fixes #2600
2022-10-24 11:37:55 +10:00
Raphael CoefficandGitHub ba713b6b8d feat: Further improve rotary encoder acceleration (#2584)
* Improve rotary encoder acceleration

Fixes #2417

* Further improvement

* Fix simu compilation
2022-10-19 20:36:29 +10:00
Peter FeerickandGitHub c8d6a50685 feat(color): mix/output bars show '0%' (#2592)
Resolves #2575
2022-10-17 22:12:35 +10:00
Raphael CoefficandGitHub 4c1cebe0f7 fix(lua): send EVT_VIRTUAL_EXIT only on short EXIT press (#2573)
Fixes #2436
2022-10-17 22:11:56 +10:00
CliffandGitHub 58866c1889 fix(color): Write pending changes to model before duplicate (#2579) 2022-10-17 20:17:30 +10:00
Raphael CoefficandGitHub 0c4f0083d6 fix(color): min/max highlighting should depend on mixer channel value (#2582)
... and not the output value. Otherwise, it will highlight min/max when the sub-trim is changed.
2022-10-17 13:17:27 +10:00
Raphael CoefficandGitHub d7fedc3639 fix(color): clear spectrum analyser data buffer on init
Fixes #136
2022-10-17 10:32:23 +10:00
Raphael Coeffic adab4dcd12 fix(color): check theme before accessing it
Fixes #2566
2022-10-16 11:42:01 +02:00
Raphael CoefficandGitHub 82ce6d0240 fix(color): copy/paste inputs/mixers (#2545)
Fixes #2541
2022-10-14 12:01:18 +10:00
Raphael CoefficandGitHub 41c788267b fix(color): RF power drop-down (#2547)
Fixes #2488
2022-10-14 11:20:59 +10:00
Raphael CoefficandGitHub 487f075ca7 fix(color): module setup sub-type after selecting MPM (#2548)
This fixes following issue:
- switch the external module to "Multi"
- switch to something else
- check the faulty sub-types
2022-10-14 11:12:10 +10:00
Raphael CoefficandGitHub 584e194388 fix(X10): Simulated page up in menu toolbar (#2543)
Fixes #2542
2022-10-14 10:46:19 +10:00
Raphael CoefficandGitHub 1766b7d6c0 fix: hard coded special characters (#2538)
* fix(B&W): delta character in outputs

* fix: more special characters

* fix: NV14 compilation
2022-10-13 17:27:45 +10:00
Raphael CoefficandGitHub 9bfb36a587 feat(color): single press to trigger model select menu (#2533)
In a similar way as the file preview, using the ENTER key will trigger the menu, while touching a preview unselected model will just select it in the list. A second tap will then trigger the menu.
2022-10-13 13:08:21 +10:00
Raphael CoefficandGitHub eb2e693eae fix(color): shortcut for model select (#2528)
Prior to this fix the model settings would be opened as well when long pressing the model key.
2022-10-13 09:41:10 +10:00
Raphael CoefficandGitHub 2f88281ab2 fix(color): screen / widget setup (#2532)
This fixes the issue introduced in #2509 which would cause the main view to be hidden while configuring widgets.
2022-10-13 09:39:37 +10:00
Raphael CoefficandGitHub 6f494e109c feat(telemetry): extend link quality warnings range (#2251)
* feat(telemetry): extend link quality warnings range

* Set default values to the old legacy FrSky values

* Companion support
2022-10-12 14:28:32 +10:00
Gábor BányászandGitHub 867d627b39 Speed up bulk menu addition. (#2516)
* Speed up bulk menu bar addition.

* libopenui reference
2022-10-12 13:04:17 +10:00