summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-14 04:25:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-14 04:25:43 -0400
commit28cc4af8c31cac01a02090e33d76d772c914388f (patch)
tree34b86f63d4a8f6716ed724512d454c5879a311aa /drivers.c
parentdaeca67395cf1276a8c33194654b9c7a2b952540 (diff)
downloadgpsd-28cc4af8c31cac01a02090e33d76d772c914388f.tar.gz
Typo fixes and indent pragma tweaks.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers.c b/drivers.c
index 27b02789..a0360bd3 100644
--- a/drivers.c
+++ b/drivers.c
@@ -19,7 +19,7 @@
#include <stdarg.h>
#include "gpsd.h"
-#include "bits.h" /* for getbeuw(), to extract big-endiamn words */
+#include "bits.h" /* for getbeuw(), to extract big-endian words */
extern const struct gps_type_t zodiac_binary;
extern const struct gps_type_t ubx_binary;
@@ -804,7 +804,7 @@ static gps_mask_t rtcm104v2_analyze(struct gps_device_t *session)
return RTCM2_IS;
}
-/* *INDENT-ON* */
+/* *INDENT-OFF* */
static const struct gps_type_t rtcm104v2 = {
.type_name = "RTCM104V2", /* full name of type */
.packet_type = RTCM2_PACKET, /* associated lexer packet type */
@@ -1048,6 +1048,7 @@ static gps_mask_t aivdm_analyze(struct gps_device_t *session)
return 0;
}
+/* *INDENT-OFF* */
static const struct gps_type_t aivdm = {
/* Full name of type */
.type_name = "AIVDM",
@@ -1085,6 +1086,7 @@ static const struct gps_type_t aivdm = {
.ntp_offset = NULL,
#endif /* NTPSHM_ ENABLE */
};
+/* *INDENT-ON* */
#endif /* AIVDM_ENABLE */
extern const struct gps_type_t garmin_usb_binary, garmin_ser_binary;