]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
fixed type
authorc vw <dl1ycf@darc.de>
Mon, 25 May 2020 12:38:33 +0000 (14:38 +0200)
committerc vw <dl1ycf@darc.de>
Mon, 25 May 2020 12:38:33 +0000 (14:38 +0200)
rigctl.c

index 2158bfd4211d70050efa0c1ee17a7da81481f3dd..ba749e1adf59cdd7529b775a386ffe0bd88998cf 100644 (file)
--- a/rigctl.c
+++ b/rigctl.c
@@ -3339,7 +3339,7 @@ int parse_cmd(void *data) {
         case 'A': //SA
           // set/read stallite mode status
           if(command[2]==';') {
-            sprintf(reply,"SA%d%d%d%d%d%d%dSAT?    ;",sat_mode==SAT_MODE|sat_mode==RSAT_MODE,0,0,0,sat_mode=SAT_MODE,sat_mode=RSAT_MODE,0);
+            sprintf(reply,"SA%d%d%d%d%d%d%dSAT?    ;",sat_mode==SAT_MODE|sat_mode==RSAT_MODE,0,0,0,sat_mode==SAT_MODE,sat_mode==RSAT_MODE,0);
             send_resp(client->fd,reply);
           } else if(command[9]==';') {
             if(command[2]=='0') {