mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Removed unnecessary includes. Changed to use #pragma once
This commit is contained in:
parent
168469236b
commit
bd560198f2
5 changed files with 3 additions and 14 deletions
|
@ -23,9 +23,7 @@
|
||||||
* Texmode add-on by Michi (mamaretti32@gmail.com)
|
* Texmode add-on by Michi (mamaretti32@gmail.com)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HOTT_TELEMETRY_H_
|
#pragma once
|
||||||
#define HOTT_TELEMETRY_H_
|
|
||||||
|
|
||||||
|
|
||||||
#define HOTTV4_RXTX 4
|
#define HOTTV4_RXTX 4
|
||||||
|
|
||||||
|
@ -498,4 +496,3 @@ uint32_t getHoTTTelemetryProviderBaudRate(void);
|
||||||
|
|
||||||
void hottPrepareGPSResponse(HOTT_GPS_MSG_t *hottGPSMessage);
|
void hottPrepareGPSResponse(HOTT_GPS_MSG_t *hottGPSMessage);
|
||||||
|
|
||||||
#endif /* HOTT_TELEMETRY_H_ */
|
|
||||||
|
|
|
@ -79,8 +79,6 @@
|
||||||
|
|
||||||
#include "config/config.h"
|
#include "config/config.h"
|
||||||
#include "config/runtime_config.h"
|
#include "config/runtime_config.h"
|
||||||
#include "config/config_profile.h"
|
|
||||||
#include "config/config_master.h"
|
|
||||||
|
|
||||||
#define TELEMETRY_LTM_INITIAL_PORT_MODE MODE_TX
|
#define TELEMETRY_LTM_INITIAL_PORT_MODE MODE_TX
|
||||||
#define LTM_CYCLETIME 100
|
#define LTM_CYCLETIME 100
|
||||||
|
|
|
@ -17,8 +17,7 @@
|
||||||
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
* along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TELEMETRY_LTM_H_
|
#pragma once
|
||||||
#define TELEMETRY_LTM_H_
|
|
||||||
|
|
||||||
void initLtmTelemetry(telemetryConfig_t *initialTelemetryConfig);
|
void initLtmTelemetry(telemetryConfig_t *initialTelemetryConfig);
|
||||||
void handleLtmTelemetry(void);
|
void handleLtmTelemetry(void);
|
||||||
|
@ -27,4 +26,3 @@ void checkLtmTelemetryState(void);
|
||||||
void freeLtmTelemetryPort(void);
|
void freeLtmTelemetryPort(void);
|
||||||
void configureLtmTelemetryPort(void);
|
void configureLtmTelemetryPort(void);
|
||||||
|
|
||||||
#endif /* TELEMETRY_LTM_H_ */
|
|
||||||
|
|
|
@ -60,8 +60,6 @@
|
||||||
|
|
||||||
#include "config/runtime_config.h"
|
#include "config/runtime_config.h"
|
||||||
#include "config/config.h"
|
#include "config/config.h"
|
||||||
#include "config/config_profile.h"
|
|
||||||
#include "config/config_master.h"
|
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,8 +5,7 @@
|
||||||
* Author: Frank26080115
|
* Author: Frank26080115
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TELEMETRY_SMARTPORT_H_
|
#pragma once
|
||||||
#define TELEMETRY_SMARTPORT_H_
|
|
||||||
|
|
||||||
void initSmartPortTelemetry(telemetryConfig_t *);
|
void initSmartPortTelemetry(telemetryConfig_t *);
|
||||||
|
|
||||||
|
@ -18,4 +17,3 @@ void freeSmartPortTelemetryPort(void);
|
||||||
|
|
||||||
bool isSmartPortTimedOut(void);
|
bool isSmartPortTimedOut(void);
|
||||||
|
|
||||||
#endif /* TELEMETRY_SMARTPORT_H_ */
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue