NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gps.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  GPS_NMEA = 0,
29 
30 typedef enum {
34 
35 typedef enum {
39 
40 typedef enum {
41  SBAS_AUTO = 0,
46 } sbasMode_e;
47 
48 struct gps_config {
53 } __attribute__((packed)) ;
54 
Definition: gps.h:36
Definition: gps.h:45
gpsAutoConfig_e autoConfig
Definition: gps.h:51
Definition: gps.h:25
Definition: gps.h:44
Definition: gps.h:32
Definition: gps.h:27
Definition: gps.h:31
gpsAutoConfig_e
Definition: gps.h:30
Definition: gps.h:41
Definition: gps.h:37
typedef __attribute__
sbasMode_e
Definition: gps.h:40
Definition: gps.h:42
sbasMode_e sbasMode
Definition: gps.h:50
gpsAutoBaud_e autoBaud
Definition: gps.h:52
gpsProvider_e
Definition: gps.h:24
gpsAutoBaud_e
Definition: gps.h:35
Definition: gps.h:48
Definition: gps.h:43
gpsProvider_e provider
Definition: gps.h:49
Definition: gps.h:26