Commit Graph
18445 Commits
Author SHA1 Message Date
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
HThurenandGitHub 37e07ec95d chore(translation): Update Companion and Radio Danish Translations 🇩🇰 (#2738)
* Changes after using QtLinguist

* added _DA
2022-12-16 10:26:18 +10:00
philmozandGitHub a1c55a5b02 chore: Cleanup some compiler warnings (#2864) 2022-12-16 10:24:28 +10:00
まっく まるちぷろとこるandGitHub 86687d8f73 Remove unnecessary BREAKSPACE & Update language selection on Japanese translation 🇯🇵 (#2873)
* Remove unnecessary BREAKSPACE
* Update Language Selection
2022-12-15 15:26:40 +01:00
まっく まるちぷろとこるandGitHub ab5a65afab Updates to Japanese translations (#2869) 2022-12-15 09:29:08 +01: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
まっく まるちぷろとこるandGitHub e16989f533 Fixes an extra string in Japanese translation file that was included. (#2865) 🇯🇵 2022-12-14 15:05:55 +01: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
philmozandGitHub 650406db52 fix(color): EM triggered when checking if modelID unique in certain instances (#2845)
Cast comparison value to int to avoid signed / unsigned comparison error if (curr - warn_buf) > 48.
2022-12-14 19:18:34 +10:00
c505f9eb01 fix(sim): Fix for 2POS switch logic affected by 6POS switch change (#2860)
* Fix 2POS switch logic in simulator. Recent change for 6POS switch broke the 2POS switches.

* Rework switch and pot controls in the simulator ensure consistent values, avoid extraneous events in Qt and, hopefully, simplify the code.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-14 18:57:01 +10:00
Raphael CoefficandGitHub 22e51fb6d0 fix(simu): Do not use "update" mode for opening read-only files (#2846) 2022-12-14 18:42:25 +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
Peter FeerickandGitHub efe2ddd2b1 fix(ci): MacOS Companion python clang pkg misisng 2022-12-14 18:16:45 +10:00
Raphael CoefficandGitHub 48be7c263b chore(cmake): CMake cleanup and simplifications (#2620)
* CMake cleanup and simplifications

* Position Independent Code is need for radiolib_native

* Some more cleanup & repair

* Fix SIMU_SRC scope issue

* fix: avoid warnings due to assembler statements from StdPeriph on arm64 native
2022-12-12 13:58:27 +10:00
rotorman 1bf415544f Limit CMake object file path length under Windows to fix building natively e.g. under MSYS2. Thx to @raphaelcoeffic for the tip: https://cmake.org/cmake/help/latest/variable/CMAKE_OBJECT_PATH_MAX.html 2022-12-11 15:01:18 +01:00
Raphael CoefficandGitHub d417404187 fix(cz): Add Latin1 Extended-A (0x100-0x17F) (#2841)
Fixes #2811
2022-12-11 15:18:11 +10:00
Neil HorneandGitHub 6f8fb7ca92 cpn(fix): set default voice language to en (#2834) 2022-12-11 12:13:06 +10:00
philmozandGitHub 1b0dab9d84 feat(sim): Forced style for POT/6POS knobs on MacOS for legibility (#2840) 2022-12-11 11:43:37 +10:00
b77bdba9a1 feat(cpn): Force light mode UI on MacOS for legibility (#2839)
Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 11:43:06 +10:00
a8bdf0c269 fix(cpn): Not saving on MacOS unless .etx in filename (#2830)
MacOS companion does not save models if ".etx" extension not in filename.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 11:42:09 +10:00
Peter Feerick 62bfb95838 fix(translation): Fix typo in CZ
Resolves #2843
2022-12-11 11:06:32 +10:00
f67b3257c1 fix(sim): Consistent steps for 6POS (#2831)
* Fix for issue #2827.
Ensure consistent values for the TX16, 6 position switch, in the simulator.

* Adjust 'value' to achieve alignment of raw values to step positions.

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2022-12-11 10:43:09 +10:00
raphaelcoefficandRaphael Coeffic 78f75c5656 chore: remove useless commented out defs 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic f881d7e11c PPM trainer output: update delay on each cycle 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 2254d04643 Fix timer channels 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 57842f1eb6 More fixes for F4 targets 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 7dfda148d1 Fix X12S includes 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 07db986d6a More cleanup 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 931be07850 Fix F2 system file 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 4b2c30db3c Finally removed StdPeriph EXTI driver 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 5219dd606d fix(f2): F2 bootloader now requires HAL/LL as well. 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 84d8075794 Generic EXTI driver now configures & enables trigger 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic ef147671ef Taranis: SBUS trainer driver for external module 2022-12-10 13:37:31 +01:00
Raphael CoefficandRaphael Coeffic 4eae312cff Taranis hal.h cleanup 2022-12-10 13:37:31 +01: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
Neil HorneandGitHub 2a882c8499 fix(cpn): ACCESS owner registration id validation (#2687)
* fix(cpn): ACCESS owner registration id validation (#2672)

* Allow registration id for internal ISRM module

* Always display owner id
2022-12-10 15:16:58 +10:00
RistoandGitHub 1860233fb5 chore: Remove obsolete functions (#2826) 2022-12-07 20:28:41 +10:00
Peter Feerick a1e8e0933f fix(translation): Add missing JP translations 2022-12-07 15:17:21 +10:00
Neil HorneandGitHub 85c098f11c cpn(fix): Release list order use version when available otherwise use date (#2823) 2022-12-07 09:37:14 +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
Raphael CoefficandGitHub 241c5e6925 chore(cpn): Update yaml-cpp submodule to get rid of warnings (#2751) 2022-12-06 19:46:54 +10:00
Neil HorneandGitHub 1bb48a087b chore(cpn): Remove some compiler warnings (#2752) 2022-12-06 19:45:39 +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
Peter FeerickandGitHub 7bdb32a8cd chore(gh): Add 2.8.0 to bug reporter 2022-12-01 10:30:35 +10:00
becbbac2cb feat(lua): Add getTrainerStatus to Lua API (#2483)
* Initial Commit

* Finished Trainer Status

* fix: Bump version number

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2022-11-30 20:36:58 +10:00
Peter FeerickandGitHub 14c9a6fc9a fix(build): Fail on unknown targets rather than build x9d (#2760)
* fix: Fail on unknown target rather than build x9d

* fix: Add a space between parameter blocks
2022-11-30 15:58:55 +10:00