]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
ptt fix
authorJohn Melton - G0ORX <john.d.melton@googlemail.c>
Fri, 1 Dec 2017 09:53:14 +0000 (09:53 +0000)
committerJohn Melton - G0ORX <john.d.melton@googlemail.c>
Fri, 1 Dec 2017 09:53:14 +0000 (09:53 +0000)
old_protocol.c

index 80bd4692b7ee19fda7fae3ce19dcc52496c78f72..11cf2eff726b3a939a2cccbd92bc5a2792c78e79 100644 (file)
@@ -492,14 +492,13 @@ static void process_ozy_input_buffer(char  *buffer) {
     control_in[4]=buffer[b++];
 
     previous_ptt=local_ptt;
-    //previous_ptt=ptt;
     previous_dot=dot;
     previous_dash=dash;
     ptt=(control_in[0]&0x01)==0x01;
     dash=(control_in[0]&0x02)==0x02;
     dot=(control_in[0]&0x04)==0x04;
 
-    local_ptt=dot;
+    local_ptt=ptt;
     if(vfo[tx_vfo].mode==modeCWL || vfo[tx_vfo].mode==modeCWU) {
       local_ptt=ptt|dot|dash;
     }