From 89d4bf3a6a42f00869ceda9a47a39df9d2c5402f Mon Sep 17 00:00:00 2001 From: Michael Black Date: Sat, 25 Jan 2020 23:27:57 -0600 Subject: [PATCH] Add CM108 and GPIO DCD types to rigctld.c --- tests/rigctld.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/rigctld.c b/tests/rigctld.c index a89c86d03..54177caca 100644 --- a/tests/rigctld.c +++ b/tests/rigctld.c @@ -398,6 +398,18 @@ int main(int argc, char *argv[]) { dcd_type = RIG_DCD_PARALLEL; } + else if (!strcmp(optarg, "CM108")) + { + dcd_type = RIG_DCD_CM108; + } + else if (!strcmp(optarg, "GPIO")) + { + dcd_type = RIG_DCD_GPIO; + } + else if (!strcmp(optarg, "GPION")) + { + dcd_type = RIG_DCD_GPION; + } else if (!strcmp(optarg, "NONE")) { dcd_type = RIG_DCD_NONE;