From: c vw Date: Mon, 25 May 2020 12:38:33 +0000 (+0200) Subject: fixed type X-Git-Url: https://git.rkrishnan.org/pf/content/reliability?a=commitdiff_plain;h=ad7fd726171185e515548b2b791cdef8c18b207b;p=pihpsdr.git fixed type --- diff --git a/rigctl.c b/rigctl.c index 2158bfd..ba749e1 100644 --- 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') {