mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
CF/BF - Fix HoTT telemetry.
Two issues: 1 - failure to work on softserial ports. The TX pin was not allocated due to the initial port mode. HoTT telemetry is different in that it changes the serial port mode between sending and receiving. This change opens the port in RX/TX mode so that both RX and TX pins are initally allocated. Test scenario: * HoTT on SoftSerial 1 * Diode connecting between RX and TX pins. 2 - bidirectional hardware ports were not supported. Renamed `sport_halfduplex` to `tlm_halfduplex`. The setting is now used by sport and hott telemetry.
This commit is contained in:
parent
1d6c9382e4
commit
9726e52a54
8 changed files with 77 additions and 43 deletions
|
@ -64,7 +64,7 @@ PG_REGISTER_WITH_RESET_TEMPLATE(telemetryConfig_t, telemetryConfig, PG_TELEMETRY
|
|||
|
||||
PG_RESET_TEMPLATE(telemetryConfig_t, telemetryConfig,
|
||||
.telemetry_inversion = TELEMETRY_DEFAULT_INVERSION,
|
||||
.sportHalfDuplex = 1,
|
||||
.halfDuplex = 1,
|
||||
.telemetry_switch = 0,
|
||||
.gpsNoFixLatitude = 0,
|
||||
.gpsNoFixLongitude = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue