Commit Graph
10926 Commits
Author SHA1 Message Date
philmozandGitHub 5da43df4e4 fix: Debug key names for Boxer (#3536) 2023-05-05 19:49:53 +10:00
MichaelandGitHub 9378e8e252 fix(lua): GV precision not taken into account (#3540)
changes:
- calculate LUA return value for GVARS taking precision into account
2023-05-05 19:45:06 +10:00
Peter Feerick ecba2f6016 fix(color): Joystick page header title 2023-05-05 19:31:58 +10:00
philmozandGitHub 07e2e06baf fix: Update GV value in header when precision changes (#3544) 2023-05-05 19:25:30 +10:00
Raphael CoefficandGitHub 6aa1fc90c4 fix: signal polarity for soft-serial & timer based protocols (#3513)
* fix: signal polarity for soft-serial & timer based protocols

* fix: first PWM period after init
2023-05-05 19:20:29 +10:00
3djcandGitHub f5c1a93f87 fix: Formatting the SD card on radio when running is a bad idea (#3549)
Plus we need the flash memory space for some targets!
2023-05-02 09:30:27 +10:00
Raphael CoefficandGitHub 99da364eaf fix: explicitly locate .data segment in FLASH (#3556)
Rather than using `_sidata` marker.
2023-05-02 09:20:43 +10:00
raphaelcoeffic 53f172bb07 fix: possible endless loop in case some error flag is set but RXNE is not
Fixes #3482
2023-04-28 13:05:31 +02:00
philmozandGitHub 909fb020ba fix(color): '!1x' repeat option missing (#3520) 2023-04-24 16:49:51 +10:00
MichaelandGitHub 8d86fc879b fix: Building TX16s firmware with -DDEBUG=YES -DCMAKE_BUILD_TYPE=Debug fails (#3510)
* fixes #3509

Changes:
- change to order of include files
- remove unnecessary include

* revert deletion of include, some radios seem to use it.

* exclude code for CONFIGURABLE_MODULE_PORT for target bootloader
2023-04-23 09:47:56 +10:00
e1fe7fce89 feat(radio,cpn): Updates for new joystick system (#3400)
* Reduce RAM usage for advanced joystick system on radio:
- Don't allocate memory blocks unless joystick mode is being used.
Support multiple radio joystick configurations in Companion:
- Save configured joystick settings by joystick name in Companion settings.
- Save last joystick name used in each profile.
- Reload joystick settings by name when profile is changed.

* Only show configuration for used axes and buttons in Companion.
Send actual number of configured joystick buttons from radio in USB packet.

* Fix issue where USB joystick not recognised if no buttons configured.

* Fix compiler warnings.

* Remove debugging.

* Fix crash in Companion.

* Change channel 8 to type 'dial', workaround for Linux mapping issue.

---------

Co-authored-by: Phil Mitchell <phil.a.mitchell@gmail.com>
2023-04-21 14:27:41 +10:00
philmozandGitHub 62a40f1c47 fix: Announce timer value as hours and minutes when played from SF (#3293) 2023-04-19 21:59:08 +10:00
8b40fb771a fix(AFHDS3): Some sensor values displayed incorrectly (#3386)
* Fix the bug that some sensor values are displayed incorrectly

* Fix typos

* Fixed some units problem.

* Unit of SNR should be db and not dbm.

* Fixed Alt scaling in NV14.

* Fixed the temperature and voltage error of the FRM303 module.

* Fixed temperature data error.

---------

Co-authored-by: Richard Li <richard.li@ces.hk>
2023-04-19 20:12:39 +10:00
richardclliandGitHub 7e9ac82497 fix: Add missing character to CN/TW font (#3489)
* Added symbol \u5b57.

* Updated fonts files.
2023-04-19 20:11:53 +10:00
MichaelandGitHub 74d44ed057 fix: Corrupt data using soft serial driver (#3329)
* restore bit start detection IRQ for soft serial

* restore bit start detection IRQ for softserial (target Taranis and Horus)

* target Taranis: EXTI9_5 is a shared interrupt for Rotary Encoder and Heartbeat for X7, X7-ACCESS und TPRO radios. Changed IRQ priority accordingly

* fix crashes where the heartbeat ISR running at interrupt priorities higher than 5 interferes with FreeRTOS calls made from within the heartbeat ISR.

* changed mixer scheduler timer initialization to allow for software generated update events to avoid freeRTOS calls from now prio 0 heartbeat ISR.

* resolved review feedback: using defines for IRQ prio settings

* following review by @raphaelcoeffic:

- new function void mixerSchedulerSoftTrigger() (to be called by heartbeat driver)
- defines in hal.h for targets horus and taranis

* following @raphaelcoeffics review

- changed all but telemetry EXIT IRQ (soft serial) definition back to their original state and added define to override EXIT IRQ (soft serial) prio
2023-04-19 19:43:25 +10:00
RistoandGitHub a4689d0b00 fix: Explicitly list 12-bit ADC resolution (#3488) 2023-04-19 18:50:22 +10:00
Peter Feerick cf01c2b441 Revert "fix(color): Scroll order for 'FlySky' module options (#3479)"
This reverts commit 54e0d350e8.
2023-04-19 11:40:45 +10:00
philmozandGitHub 54e0d350e8 fix(color): Scroll order for 'FlySky' module options (#3479)
* Fix scroll order for module options when 'FlySky' module type selected.
Fix simulator crash issues related to FlySky module.

* Fix more simulator crashes
2023-04-18 11:01:26 +10:00
philmozandGitHub 95cfe47ad8 feat: Skip model load delay if mixer not running (e.g. on startup) (#3454) 2023-04-17 20:47:19 +10:00
MichaelandGitHub 6b2bca510c fix(lua): Debugprint not working (#3472) 2023-04-17 20:15:47 +10:00
philmozandGitHub 6985d3f24b feat(color,cpn): Updates to the model telemetry page, sensor ID consistency (#3401)
* Add 'Show Instance ID' button to telemetry page to show/hide sensor instance number (default is hidden).
Fix issues with page refresh when all sensors deleted.
Select closest sensor when a single sensor is deleted.
On change, only refresh the sensor list instead of the whole page.
The 'showInstanceIds' property is saved to the model file.
Update Companion to save/load 'showInstanceIds' in model YAML file. Add checkbox to telemetry edit page.

* Update all radio specific files.

* Keep focus on 'Discover/Stop' button when searching for new sensors.
Start sensor ID index at 1 to match B&W radios.
Keep focus on changed parameter when editing sensor, don't rebuild entire parameter list on change.

* Display actual 'instance' ID instead of 'instance' + 1.

* Fix incorrect ID when reloading simulator data.

* Fix incorrect ID when reloading simulator data on B&W radios.
2023-04-17 18:44:44 +10:00
Marco RobustiniandGitHub 7bf6dbba0f chore(translation): Update Italian translations(#3485)
Joystick and servos section translation
2023-04-17 18:19:34 +10:00
philmozandGitHub e0fad3d122 fix(color): Popup telemetry warning can crash radio (#3439)
Also fixes issue where simulator does not close cleanly if popup showing.
2023-04-16 18:25:29 +10:00
philmozandGitHub b3c7a95aa2 fix: Direction detection for rotary encoder on startup (#3445) 2023-04-16 17:08:59 +10:00
philmozandGitHub 5b0e47ff42 fix(color): Rework rotary encoder acceleration calculation, fix getRotEntSpeed not working (#3441)
* Rework the rotary encoder acceleration calculation, and remove double handling of acceleration.

* Reduce the acceleration sensitivity.

* Set the 'rotencSpeed' variable for the Lua getRotEntSpeed function().
2023-04-16 16:54:46 +10:00
Bryan MaylandandGitHub a49ab1d673 feat: Add haptic startup buzz for radios with no startup animation (#3478) 2023-04-16 10:57:34 +10:00
philmozandGitHub 7f5ea004e4 feat(color): Sort the widget list by display name (#3476) 2023-04-15 19:14:44 +10:00
125fd2ba28 fix: Missing configurable port code, R9M Access, support FRM303 via mod (#3442)
* Fix configurable external module port

* Added FRM303 support for TX16S via AUX1 mod, i.e. direct connect AUX1 TX/RX to PPM/Heartbeat pins.

---------

Co-authored-by: raphaelcoeffic <raphael.coeffic@frafos.com>
2023-04-15 19:04:34 +10:00
philmozandGitHub e03add0b86 fix(color): Memory leak when disconnecting USB in SD card mode (#3453) 2023-04-15 18:41:35 +10:00
philmozandGitHub bb83780367 fix(TX16S): Building firmware DEBUG=YES and INTERNAL_MODULE_PXX2=OFF (#3460) 2023-04-15 17:56:54 +10:00
richardclliandGitHub 01829a12d2 fix(color): Default splash screen that fits NV14/EL18 screens (#2764) 2023-04-14 19:46:21 +10:00
richardclliandGitHub 4f624cc3bc fix(afhds3): Only first four failsafe channels being set (#3465) 2023-04-14 09:27:14 +10:00
Peter Feerick a741c11c32 chore(afhds3): UI cosmetics
Missed a spot ;)
2023-04-13 21:30:35 +10:00
Peter Feerick ddf6222d6b chore(afhds3): UI cosmetics and formatting
Post #3443 cleanup
2023-04-13 20:40:58 +10:00
Xy2019andGitHub 02e804f55c fix(afhds3): Unable to set SBUS, IBUS display issue, indiv channel PWM freq (#3443)
* Fix the BUG of V0 receiver setting IBUS SBUS; add the setting item of INRM301.

* Fix check failure; remove some unused characters.

* Fix typos and rename variables as well as fix compilation errors.

* add language
2023-04-13 19:36:43 +10:00
Peter Feerick d09fbc3ee1 fix(color): MPM protocol not always sav to storage
In the unlikely occurance you *only* choose a
protcol and turn off the transmitter, it won't be
saved!
2023-04-13 14:56:36 +10:00
philmozandGitHub 4315217f65 fix(color): Custom failsafe settings not always to storage (#3463) 2023-04-13 14:49:21 +10:00
Peter FeerickandGitHub 5a18647cd4 fix(X9lite): Chan. monitor, other display glitches (#3452)
It seems the display used on these TX doesn't
like too many horizontal lines.
2023-04-13 14:40:57 +10:00
MichaelandGitHub 40ef11d7a4 fix: Undesired MPM protocol selection changes (#3444) 2023-04-13 14:39:17 +10:00
philmozandGitHub 0754830aed fix(bw): Fix crash when editing ext. multi module type on 212x64 radios (#3459) 2023-04-11 14:39:08 +10:00
PatrickandGitHub 745c465bed chore(translation): Updates to French translations 🇫🇷 (#3447) 2023-04-10 12:58:13 +10:00
f935ce8c2b feat(color): Add layout 4+2B right side 3QRT+1QRT (#3315)
* Add layout 4+2B right side 3QRT+1QRT

* Fix Layout 4+2B LayoutId, length max 9 char

* Maybe this will work?

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-04-10 12:00:59 +10:00
philmozandGitHub 227780d784 feat: Add 'repeat' option to 'Lua Script' special function (#3338)
* Add support for the '1x' repeat option for 'Play Script' special functions.

* Add Companion and B&W radio support.

* Fix B&W radio logic and layout.

* Add translation hooks.
2023-04-10 11:00:50 +10:00
6138f29da6 feat(color): Show 'Press any key to skip' message on alerts that have no message (#3433)
* Show the 'Press any key to skip' message on alerts that currently have no message.

* Show action button on storage format warning also

---------

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2023-04-09 20:56:28 +10:00
philmozandGitHub 26f166011c fix(color): Active widget popup menu causing issues with radio menus (#3417) 2023-04-09 13:50:25 +10:00
philmozandGitHub 92651429a2 feat(color): Use generic YAML parser to save/load Theme yaml files (#3346)
* Change ThemeFile class to use generic YAML parser instead of hard wired code.
Fix handling of empty input lines in YAML parser.
Increase size of YAML parser variables to handle theme 'info' property length.

* Update comment.

* Fix error.

* Proper fix for blank lines in YAML file.

* Fix YAML blank line handling (attempt 3).

* Ensure theme YAML file is backward compatible.

* Store selected theme in radio settings instead of selectedtheme.txt file.
On start, if radio settings theme is empty, try and load from selectedtheme.txt file.
In Companion, save/load the selected theme in the radio settings YAML file; but no UI to select theme.

* Update selected theme name in radio.yml if the theme name was edited.

* Only save 'selectedTheme' in Companion on color LCD radios.
2023-04-09 13:32:30 +10:00
richardclliandGitHub f01b0f2772 fix(AFHDS3): Incorrect channel scaling (#3449)
* Fixed IRM301/FRM303 channels scaling problem.

* Add back the remarks for calculation.
2023-04-08 20:17:40 +10:00
MichaelandGitHub 2ce94e3e4b fix: X10access - no PPM output on CPPM pin (#3419) 2023-04-05 14:03:15 +10:00
Paul TapperandGitHub 2b3559dcea fix(build): Non-empty attribute causing clang 16+ build error (#3437)
empty for anonymous structures but contains a descriptive
string in brackets. Resolves the build error "Cannot handle
non anonymous unions" from this script.
2023-04-05 10:29:05 +10:00
MichaelandGitHub 50b492df94 fix: Incorrect subprotocol count causing simulator crash, garbage entry (#3426) 2023-04-03 12:37:06 +10:00