summaryrefslogtreecommitdiff
path: root/test_packet.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-12 07:13:13 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-12 07:13:13 -0400
commit7d798516307ffba305d68f93c29d2549d44dc314 (patch)
tree943a08f300e9c88b5c939770de9cd310c0e2691b /test_packet.c
parent6d9656417a5ae7db6ce4d27486f297758dc407ca (diff)
downloadgpsd-7d798516307ffba305d68f93c29d2549d44dc314.tar.gz
Remove some driver methods that should not have been included.
Diffstat (limited to 'test_packet.c')
-rw-r--r--test_packet.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test_packet.c b/test_packet.c
index c5335d11..5fc30720 100644
--- a/test_packet.c
+++ b/test_packet.c
@@ -332,6 +332,7 @@ static int property_check(void)
if ((*dp)->packet_type == COMMENT_PACKET)
continue;
+#ifdef RECONFIGURE_ENABLE
if (CONFIGURABLE(*dp))
(void)fputs("config\t", stdout);
else
@@ -340,6 +341,17 @@ static int property_check(void)
(void)fputs("hook\t", stdout);
else
(void)fputs(".\t", stdout);
+#endif /* RECONFIGURE_ENABLE */
+ if ((*dp)->trigger != NULL)
+ (void)fputs("trigger\t", stdout);
+ else
+ (void)fputs(".\t", stdout);
+#ifdef CONTROLSEND_ENABLE
+ if ((*dp)->control_send != NULL)
+ (void)fputs("send\t", stdout);
+ else
+ (void)fputs(".\t", stdout);
+#endif /* CONTROLSEND_ENABLE */
if ((*dp)->packet_type > NMEA_PACKET)
(void)fputs("binary\t", stdout);
else