mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 13:55:40 +08:00
[gps] removed gps_type
This commit is contained in:
@@ -45,7 +45,6 @@ struct GpsState gps;
|
||||
|
||||
struct GpsTimeSync gps_time_sync;
|
||||
|
||||
#ifndef GPS_TYPE_H
|
||||
|
||||
#ifndef PrimaryGpsImpl
|
||||
#warning "PrimaryGpsImpl not set!"
|
||||
@@ -80,8 +79,6 @@ struct GpsInstance {;
|
||||
|
||||
struct GpsInstance GpsInstances[GPS_NUM_INSTANCES];
|
||||
|
||||
#endif
|
||||
|
||||
#if PERIODIC_TELEMETRY
|
||||
#include "subsystems/datalink/telemetry.h"
|
||||
|
||||
@@ -278,9 +275,6 @@ void gps_init(void)
|
||||
#ifdef GPS_LED
|
||||
LED_OFF(GPS_LED);
|
||||
#endif
|
||||
#ifdef GPS_TYPE_H
|
||||
gps_impl_init();
|
||||
#endif
|
||||
#ifdef PrimaryGpsImpl
|
||||
PrimaryGpsRegister();
|
||||
#endif
|
||||
|
||||
@@ -67,17 +67,6 @@
|
||||
#define GPS_VALID_HMSL_BIT 5
|
||||
#define GPS_VALID_COURSE_BIT 6
|
||||
|
||||
/* GPS model specific implementation or sim */
|
||||
#ifdef GPS_TYPE_H
|
||||
#include GPS_TYPE_H
|
||||
#ifndef GPS_NB_CHANNELS
|
||||
#define GPS_NB_CHANNELS 1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef GPS_TYPE_H
|
||||
|
||||
#define PRIMARY_GPS_INSTANCE 0
|
||||
#define SECONDARY_GPS_INSTANCE 1
|
||||
|
||||
@@ -100,8 +89,6 @@
|
||||
#endif
|
||||
|
||||
extern uint8_t multi_gps_mode;
|
||||
#endif
|
||||
|
||||
|
||||
/** data structure for Space Vehicle Information of a single satellite */
|
||||
struct SVinfo {
|
||||
|
||||
Reference in New Issue
Block a user