]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Corrected error that flagged a compiler warning.
authorDL1YCF <dl1ycf@darc.de>
Sat, 10 Oct 2020 16:33:35 +0000 (18:33 +0200)
committerDL1YCF <dl1ycf@darc.de>
Sat, 10 Oct 2020 16:33:35 +0000 (18:33 +0200)
rigctl.c

index a1aab4ac1799c8cdbd3d68f09445681d394c9eea..46c5ac5a88395e287be8019c8d4910e75567ff17 100644 (file)
--- a/rigctl.c
+++ b/rigctl.c
@@ -3341,7 +3341,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') {