summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-01-09 00:50:56 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-01-09 00:51:10 -0500
commitfabad5ac83331318ed9155d44d021ddc7667850b (patch)
tree894d44c36d590086328f6b805b8ac0db3c8b1c8c /gpsmon.c
parentd76f01166602f8581a53e0f7b6a51447e15c576d (diff)
downloadgpsd-fabad5ac83331318ed9155d44d021ddc7667850b.tar.gz
Fix a brown-paper-bag typo.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 4ce6a1e0..fb756c76 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -1197,7 +1197,7 @@ int main(int argc, char **argv)
if (serial) {
#ifdef PPS_ENABLE
/* this guard suppresses a warning on Bluetooth devices */
- if (session.sourcetype == source_rs232 || session.sourcetype == source_rs232) {
+ if (session.sourcetype == source_rs232 || session.sourcetype == source_usb) {
session.thread_report_hook = pps_report;
pps_thread_activate(&session);
}