Commit Graph
17432 Commits
Author SHA1 Message Date
Raphael Coeffic dcc8902f17 Fixed PXX1 serial external 2022-03-27 16:29:49 +02:00
Raphael Coeffic ead920bf1d Fixed INTMODULE_FIFO_SIZE 2022-03-27 16:22:46 +02:00
Raphael Coeffic 0613a29122 Cleanup 2022-03-25 18:23:19 +01:00
Raphael Coeffic 0927847adb Stop telemetry timer when not needed 2022-03-25 18:15:56 +01:00
Raphael Coeffic a994fc708a WiP internal module buffer 2022-03-25 18:15:56 +01:00
Raphael Coeffic 59191f37c3 Use software timers to trigger telemetry processing 2022-03-25 16:50:00 +01:00
Raphael CoefficandRaphael Coeffic 7d4c814215 macOS Companion: install Pillow with python3 2022-03-25 16:47:59 +01:00
Raphael CoefficandRaphael Coeffic e293d85874 Fix macOS Companion build on GH 2022-03-25 16:47:59 +01:00
Raphael Coeffic 1b87b6acea Bump dev version 2022-03-25 11:35:48 +01:00
Raphael CoefficandGitHub 50aeb50029 fix: Quick fix to let CRSF be used with MPM wireless trainer - limiations apply (#1724)
* Let's do some dirty hack with MPM RX

Resolves #1671

* Use the right function to sync and shutdown sync on external MPM as well
2022-03-25 12:04:15 +10:00
Raphael CoefficandRaphael Coeffic b359e2db71 Shorter module name on small displays 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 4d0d89b967 Move telemetry EXTI handler up in the chain 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 12e96e451f Added Companion support 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 7922afd9ca Implemented proper logic for number of channels (incl. start channel) 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 9e40aaa215 Stdlcd UI for Lemon-Rx DSMP 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 2c6bd12c6e Fix module YAML format 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 9d5cd1876c Added support for Lemon-Rx DSMP 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic f09c10b49d Cleaner first pulse 2022-03-24 10:40:17 +01:00
Raphael CoefficandRaphael Coeffic 86d1ca4364 Reorganize module type/subType/rfProtocol 2022-03-24 10:40:17 +01:00
Raphael Coeffic 049f337665 Fix CZ translation
Resolves #1594
2022-03-23 18:28:16 +01:00
Raphael Coeffic 811e1cbdf2 CRSF: default to 500Hz from 921.6kbps on 2022-03-23 12:44:48 +01:00
WilhelmandGitHub c14417a325 Try to fix use of unterminated strings in mixer setup (#1317) (#1338)
* fixes the non-terminated fixed-string problem in lua-mixer-script
added some useful info to the script-line
make the popup menu to delete a script

* removed unneccessary comments

* intermediate fix

* tried to obey all comments to the code
and to eliminate further potential buffer-overflows

* fixed typo

* fixed async loading of lua scripts and update of widget
cleanup

* removed GCC pragmas (clang warn about them)
remove constexpr qualification (gcc accepts them because gcc-builtins are already constexpr, clang still warns about them)

* removed merge marker
2022-03-23 12:40:06 +01:00
Jesper FrickmannandGitHub cdda903a25 fix: Lua - Changed getSwitch* so can also get "One" and "ON" switch positions (#1720)
Use `ModelCustomFunctionsContext` instead of `LogicalSwitchesContext` to get "One" and "ON" switch positions
2022-03-23 19:09:43 +10:00
Raphael Coeffic 6bb11a3b68 Kill the return of SKY9X's ghost 2022-03-22 18:39:00 +01:00
Raphael Coeffic 921854d13c fix: bottom of hardware menu on stdlcd 2022-03-22 14:58:39 +01:00
Raphael Coeffic f4cfcf2d3f fix: restart internal module when baudrate is changed 2022-03-22 11:33:16 +01:00
Peter Feerick 8da54326cb fix: Faster topbar widget refresh (10hz, was 2hz)
Fixes #1096
2022-03-22 20:16:49 +10:00
Peter Feerick 08ffcc726a fix: Only remove topbar widget zone if GPS active
Fixes #1718
2022-03-22 19:44:25 +10:00
Peter Feerick 6e872e5823 fix: Companion MPM consistency 2022-03-22 16:23:46 +10:00
Peter FeerickandGitHub b54ad7169a feat: Option for inverting rotary encoder direction (#1690)
* feat: Add option for rotary encoder direction
Based heavily on opentx/opentx#8852 by @3djc

* companion ui elements

* Cleanup

* Hook up UI, reading setting from yaml

* Teach simulator about rotEncDirection

* Simu and radio default scroll direction correction
Otherwise the "default" would be the opposite to how it has always been

* Remove what will be a confict with fix in #1586

* Wasn't using rotEncDirection consistently

* Zorro RE dir is opp to TX16, TX12, TPro, X9D+2019
2022-03-22 16:14:57 +10:00
ydsandGitHub b36e456ca7 chore: Add X9E target (#1721)
* added X9E target

* added X9E target

* added X9E target
2022-03-22 16:08:10 +10:00
Peter FeerickandGitHub 33f761c17b feat: Configurable external CRSF baud rates (see #1581)
CRSF modules baudrate
2022-03-22 16:06:57 +10:00
Peter Feerick e0a1dca5cc Read telemetryBaudrate into internalModuleBaudrate 2022-03-22 15:48:59 +10:00
Neil HorneandGitHub f4c8091301 Companion MPM id to string list mismatch and MT99 sub-type list typo (#1719) 2022-03-22 06:32:11 +10:00
Peter FeerickandGitHub c327c6c0db fix: TPro FS showing in global funcs and MPM protocol list updates (#1705)
* Init contrast earlier for 128 B&W screens
https://github.com/opentx/opentx/pull/8882

* fix: TPro - No FS in global functions
https://github.com/opentx/opentx/pull/8845

* Missing IS_SWITCH_FS defintions

* Update MPM fallback SUBTYPE and OPT strings

* Custom MPM proto should not be processed
2022-03-21 20:57:04 +10:00
Peter FeerickandRaphael Coeffic 3502f74830 cpn: Hide model telemetryBaudrate combo if int RF 2022-03-21 11:52:20 +01:00
Peter FeerickandRaphael Coeffic b0910ebec5 cpn: Ghost read telemetryBaudrate also 2022-03-21 11:52:20 +01:00
Peter FeerickandRaphael Coeffic 5e457172a2 Add companion decoding of crsf mod option 2022-03-21 11:52:20 +01:00
Raphael Coeffic cb739fc11e Some fixes and proper defaults 2022-03-21 11:52:20 +01:00
Raphael Coeffic 17986843e3 Add Baudrate to Module Setup 2022-03-21 11:52:19 +01:00
Raphael Coeffic ebfb0b61f0 Companion: YAML and hardware panel 2022-03-21 11:52:19 +01:00
Peter FeerickandRaphael Coeffic 70f71c8ec8 Remove compiler warning 2022-03-21 11:48:51 +01:00
Peter FeerickandRaphael Coeffic 19b1db7275 Use existing getStringAtIndex as considers length 2022-03-21 11:48:51 +01:00
3djcandRaphael Coeffic 21f776d40c Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic f426dd1254 Fixes 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 77b00cd230 typo... 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic f090c599df Add a reminder of internal CRSF speed in model setup 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 7ec58d06d6 remove warning 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic ab09d0a25f Introduce serial status 2022-03-21 11:48:50 +01:00
3djcandRaphael Coeffic 4039069bb7 YAML fixes 2022-03-21 11:48:50 +01:00