mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 05:45:31 +03:00
Relocated used code from board.h into appropriate headers, deleted
unused code.
This commit is contained in:
parent
3ef05c0eb9
commit
64d16e1987
15 changed files with 102 additions and 95 deletions
|
@ -8,6 +8,19 @@
|
|||
#ifndef TELEMETRY_COMMON_H_
|
||||
#define TELEMETRY_COMMON_H_
|
||||
|
||||
typedef enum {
|
||||
TELEMETRY_PROVIDER_FRSKY = 0,
|
||||
TELEMETRY_PROVIDER_HOTT,
|
||||
TELEMETRY_PROVIDER_MAX = TELEMETRY_PROVIDER_HOTT
|
||||
} TelemetryProvider;
|
||||
|
||||
typedef enum {
|
||||
TELEMETRY_PORT_UART = 0,
|
||||
TELEMETRY_PORT_SOFTSERIAL_1, // Requires FEATURE_SOFTSERIAL
|
||||
TELEMETRY_PORT_SOFTSERIAL_2, // Requires FEATURE_SOFTSERIAL
|
||||
TELEMETRY_PORT_MAX = TELEMETRY_PORT_SOFTSERIAL_2
|
||||
} TelemetryPort;
|
||||
|
||||
// telemetry
|
||||
void initTelemetry(void);
|
||||
void checkTelemetryState(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue