From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Sun, 19 Dec 2021 03:02:37 +0000 (+0530)
Subject: missing break statements in CAT control for RIT and NR/NB handling
X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/frontends/class-simplejson.JSONEncoder.html?a=commitdiff_plain;h=0f954ec71d9a322999341d98411a393148c76662;p=pihpsdr.git

missing break statements in CAT control for RIT and NR/NB handling

(copied from VU2DLE's PR:
https://github.com/g0orx/pihpsdr/pull/147/files)
---

diff --git a/rigctl.c b/rigctl.c
index 30b879a..99063a1 100644
--- a/rigctl.c
+++ b/rigctl.c
@@ -2040,6 +2040,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) {
       implemented = FALSE;
       break;
     }
+    break;
   case 'O': // ZZOx
     switch (command[3]) {
     default:
@@ -2195,6 +2196,7 @@ gboolean parse_extended_cmd(char *command, CLIENT *client) {
       implemented = FALSE;
       break;
     }
+    break;
   case 'S': // ZZSx
     switch (command[3]) {
     case 'A': // ZZSA