[gps] removed gps_type

This commit is contained in:
masierra
2016-02-03 08:53:29 -08:00
parent 56ac02739c
commit 112d1f2d70
2 changed files with 0 additions and 19 deletions
-6
View File
@@ -45,7 +45,6 @@ struct GpsState gps;
struct GpsTimeSync gps_time_sync; struct GpsTimeSync gps_time_sync;
#ifndef GPS_TYPE_H
#ifndef PrimaryGpsImpl #ifndef PrimaryGpsImpl
#warning "PrimaryGpsImpl not set!" #warning "PrimaryGpsImpl not set!"
@@ -80,8 +79,6 @@ struct GpsInstance {;
struct GpsInstance GpsInstances[GPS_NUM_INSTANCES]; struct GpsInstance GpsInstances[GPS_NUM_INSTANCES];
#endif
#if PERIODIC_TELEMETRY #if PERIODIC_TELEMETRY
#include "subsystems/datalink/telemetry.h" #include "subsystems/datalink/telemetry.h"
@@ -278,9 +275,6 @@ void gps_init(void)
#ifdef GPS_LED #ifdef GPS_LED
LED_OFF(GPS_LED); LED_OFF(GPS_LED);
#endif #endif
#ifdef GPS_TYPE_H
gps_impl_init();
#endif
#ifdef PrimaryGpsImpl #ifdef PrimaryGpsImpl
PrimaryGpsRegister(); PrimaryGpsRegister();
#endif #endif
-13
View File
@@ -67,17 +67,6 @@
#define GPS_VALID_HMSL_BIT 5 #define GPS_VALID_HMSL_BIT 5
#define GPS_VALID_COURSE_BIT 6 #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 PRIMARY_GPS_INSTANCE 0
#define SECONDARY_GPS_INSTANCE 1 #define SECONDARY_GPS_INSTANCE 1
@@ -100,8 +89,6 @@
#endif #endif
extern uint8_t multi_gps_mode; extern uint8_t multi_gps_mode;
#endif
/** data structure for Space Vehicle Information of a single satellite */ /** data structure for Space Vehicle Information of a single satellite */
struct SVinfo { struct SVinfo {