mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Replaced #include with forward reference
This commit is contained in:
parent
84cf4eb2e1
commit
57372cf234
1 changed files with 6 additions and 8 deletions
|
@ -21,10 +21,8 @@
|
||||||
* Created on: 6 Apr 2014
|
* Created on: 6 Apr 2014
|
||||||
* Author: Hydra
|
* Author: Hydra
|
||||||
*/
|
*/
|
||||||
#include "rx/rx.h"
|
|
||||||
|
|
||||||
#ifndef TELEMETRY_COMMON_H_
|
#pragma once
|
||||||
#define TELEMETRY_COMMON_H_
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FRSKY_FORMAT_DMS = 0,
|
FRSKY_FORMAT_DMS = 0,
|
||||||
|
@ -52,7 +50,8 @@ bool telemetryCheckRxPortShared(serialPortConfig_t *portConfig);
|
||||||
extern serialPort_t *telemetrySharedPort;
|
extern serialPort_t *telemetrySharedPort;
|
||||||
|
|
||||||
void telemetryCheckState(void);
|
void telemetryCheckState(void);
|
||||||
void telemetryProcess(rxConfig_t *rxConfig, uint16_t deadband3d_throttle);
|
struct rxConfig_s;
|
||||||
|
void telemetryProcess(struct rxConfig_s *rxConfig, uint16_t deadband3d_throttle);
|
||||||
|
|
||||||
bool telemetryDetermineEnabledState(portSharing_e portSharing);
|
bool telemetryDetermineEnabledState(portSharing_e portSharing);
|
||||||
|
|
||||||
|
@ -60,4 +59,3 @@ void telemetryUseConfig(telemetryConfig_t *telemetryConfig);
|
||||||
|
|
||||||
#define TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK (FUNCTION_TELEMETRY_FRSKY | FUNCTION_TELEMETRY_LTM)
|
#define TELEMETRY_SHAREABLE_PORT_FUNCTIONS_MASK (FUNCTION_TELEMETRY_FRSKY | FUNCTION_TELEMETRY_LTM)
|
||||||
|
|
||||||
#endif /* TELEMETRY_COMMON_H_ */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue