artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ceb66
)
whitespace fix
author
mlarkin
<mlarkin@openbsd.org>
Sat, 2 Apr 2022 22:43:01 +0000
(22:43 +0000)
committer
mlarkin
<mlarkin@openbsd.org>
Sat, 2 Apr 2022 22:43:01 +0000
(22:43 +0000)
sys/kern/tty_nmea.c
patch
|
blob
|
history
diff --git
a/sys/kern/tty_nmea.c
b/sys/kern/tty_nmea.c
index
536268a
..
161e368
100644
(file)
--- a/
sys/kern/tty_nmea.c
+++ b/
sys/kern/tty_nmea.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: tty_nmea.c,v 1.
49 2019/08/15 15:08:14 otto
Exp $ */
+/* $OpenBSD: tty_nmea.c,v 1.
50 2022/04/02 22:43:01 mlarkin
Exp $ */
/*
* Copyright (c) 2006, 2007, 2008 Marc Balmer <mbalmer@openbsd.org>
@@
-294,7
+294,7
@@
nmea_scan(struct nmea *np, struct tty *tp)
strncmp(fld[0], "GN", 2) &&
strncmp(fld[0], "GP", 2))
return;
-
+
/* we look for the RMC & GGA messages */
if (strncmp(fld[0] + 2, "RMC", 3) &&
strncmp(fld[0] + 2, "GGA", 3))