mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Cleanup telemetry code. Remove duplicate logic. Improve readability.
Add support for another provider. Change default softserial baud rate to match the speed used by FrSky telemetry.
This commit is contained in:
parent
2fdadaa78f
commit
6f0a419bf6
5 changed files with 106 additions and 49 deletions
|
@ -92,9 +92,15 @@ typedef enum {
|
|||
GPS_MAG_BINARY,
|
||||
} GPSHardware;
|
||||
|
||||
|
||||
typedef enum {
|
||||
TELEMETRY_PROVIDER_FRSKY = 0
|
||||
} TelemetryProvider;
|
||||
|
||||
typedef enum {
|
||||
TELEMETRY_UART = 0,
|
||||
TELEMETRY_SOFTSERIAL,
|
||||
TELEMETRY_SOFTSERIAL_1,
|
||||
TELEMETRY_SOFTSERIAL_2,
|
||||
} TelemetrySerial;
|
||||
|
||||
typedef enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue