NinjaFlight
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
frsky.h
Go to the documentation of this file.
1
/*
2
* This file is part of Ninjaflight.
3
*
4
* Copyright: collective.
5
* Cleanup: Martin Schröder <mkschreder.uk@gmail.com>
6
* Original source from Cleanflight.
7
*
8
* Ninjaflight is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* Ninjaflight is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with Ninjaflight. If not, see <http://www.gnu.org/licenses/>.
20
*/
21
22
#pragma once
23
24
typedef
enum
{
25
FRSKY_VFAS_PRECISION_LOW
= 0,
26
FRSKY_VFAS_PRECISION_HIGH
27
}
frskyVFasPrecision_e
;
28
29
typedef
enum
{
30
FRSKY_FORMAT_DMS
= 0,
31
FRSKY_FORMAT_NMEA
32
}
frskyGpsCoordFormat_e
;
33
34
typedef
enum
{
35
FRSKY_UNIT_METRICS
= 0,
36
FRSKY_UNIT_IMPERIALS
37
}
frskyUnit_e
;
38
39
struct
frsky_telemetry_config
{
40
float
gpsNoFixLatitude
;
41
float
gpsNoFixLongitude
;
42
frskyGpsCoordFormat_e
frsky_coordinate_format
;
43
frskyUnit_e
frsky_unit
;
44
uint8_t
frsky_vfas_precision
;
45
}
__attribute__
((packed)) ;
46
frsky_telemetry_config::gpsNoFixLatitude
float gpsNoFixLatitude
Definition:
frsky.h:40
frsky_telemetry_config
Definition:
frsky.h:39
FRSKY_UNIT_IMPERIALS
Definition:
frsky.h:36
frsky_telemetry_config::gpsNoFixLongitude
float gpsNoFixLongitude
Definition:
frsky.h:41
frskyVFasPrecision_e
frskyVFasPrecision_e
Definition:
frsky.h:24
frsky_telemetry_config::frsky_vfas_precision
uint8_t frsky_vfas_precision
Definition:
frsky.h:44
FRSKY_FORMAT_NMEA
Definition:
frsky.h:31
__attribute__
typedef __attribute__
FRSKY_VFAS_PRECISION_LOW
Definition:
frsky.h:25
FRSKY_FORMAT_DMS
Definition:
frsky.h:30
FRSKY_VFAS_PRECISION_HIGH
Definition:
frsky.h:26
frskyGpsCoordFormat_e
frskyGpsCoordFormat_e
Definition:
frsky.h:29
frsky_telemetry_config::frsky_coordinate_format
frskyGpsCoordFormat_e frsky_coordinate_format
Definition:
frsky.h:42
frsky_telemetry_config::frsky_unit
frskyUnit_e frsky_unit
Definition:
frsky.h:43
frskyUnit_e
frskyUnit_e
Definition:
frsky.h:34
FRSKY_UNIT_METRICS
Definition:
frsky.h:35
src
main
config
frsky.h
Generated on Mon Dec 12 2016 15:48:45 for NinjaFlight by
1.8.7