From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Fri, 7 Jan 2022 16:23:22 +0000 (+0530)
Subject: bug fixes in the new "start bandstack" command "#BS;"
X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/about/module-simplejson-index.html?a=commitdiff_plain;h=f1ca5bea8f9e4521dbba59946bb6ec2179d0d092;p=pihpsdr.git

bug fixes in the new "start bandstack" command "#BS;"
---

diff --git a/rigctl.c b/rigctl.c
index d4a149f..34f5079 100644
--- a/rigctl.c
+++ b/rigctl.c
@@ -2819,8 +2819,11 @@ int parse_cmd(void *data) {
       implemented = FALSE;
       break;
     case 'S': // BS
-      // start bandstack
-      start_bandstack();
+        if (command[2] == ';') {
+            // start bandstack
+            start_bandstack();
+        }
+        break;
     default:
       implemented = FALSE;
       break;