diff options
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index a03d379e..75c868cc 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -6,7 +6,7 @@ #ifdef EARTHMATE_ENABLE #define ZODIAC_ENABLE #endif -#if defined(ZODIAC_ENABLE) || defined(SIRF_ENABLE) || defined(GARMIN_ENABLE) || defined(TSIP_ENABLE) || defined(EVERMORE_ENABLE) || defined(ITRAX_ENABLE) || defined(UBX_ENABLE) +#if defined(ZODIAC_ENABLE) || defined(SIRF_ENABLE) || defined(GARMIN_ENABLE) || defined(TSIP_ENABLE) || defined(EVERMORE_ENABLE) || defined(ITRAX_ENABLE) || defined(UBX_ENABLE) || defined(SUPERSTAR2_ENABLE) || defined(ONCORE_ENABLE) #define BINARY_ENABLE #endif #if defined(TRIPMATE_ENABLE) || defined(BINARY_ENABLE) @@ -57,6 +57,7 @@ struct gps_packet_t { #define GARMINTXT_PACKET 12 #define SUPERSTAR2_PACKET 13 #define AIVDM_PACKET 14 +#define ONCORE_PACKET 15 #define TEXTUAL_PACKET_TYPE(n) ((n)==NMEA_PACKET||(n)==GARMINTXT_PACKET||(n)==COMMENT_PACKET||(n)==AIVDM_PACKET) unsigned int state; size_t length; @@ -122,17 +123,6 @@ extern void rtcm3_dump(struct rtcm3_t *rtcm, FILE *); #define NTPSHMSEGS 4 /* number of NTP SHM segments */ -/* Some internal capabilities depend on which drivers we're compiling. */ -#ifdef EARTHMATE_ENABLE -#define ZODIAC_ENABLE -#endif -#if defined(ZODIAC_ENABLE) || defined(SIRF_ENABLE) || defined(GARMIN_ENABLE) || defined(TSIP_ENABLE) || defined(EVERMORE_ENABLE) || defined(ITRAX_ENABLE) -#define BINARY_ENABLE -#endif -#if defined(TRIPMATE_ENABLE) || defined(BINARY_ENABLE) -#define NON_NMEA_ENABLE -#endif - struct subscriber_t { int fd; /* client file descriptor. -1 if unused */ double active; /* when subscriber last polled for data */ |