sdrtst - poprawka przesylania QRG dla <14 sond

pull/1/head
SP9SKP 2018-10-03 12:50:29 +02:00
rodzic c34427bd38
commit f400873bec
2 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -607,7 +607,6 @@ static void updateChanT(){
l=strlen(sndbufft);
sndbufft[l]=0;
sndbufft[l+1]=0;
printf(sndbufft);
osi_WrBin(fd, (char *)sndbufft, 1024, 1024);
j=0;
}

Wyświetl plik

@ -4464,7 +4464,7 @@ static void getadc(void)
if(tmps[0]=='9' && tmps[1]=='S' && tmps[2]=='K' && tmps[3]=='P'){ //freq table
printf("Update channel table\n");
//printf("Update channel table\n");
pos=4;
mod=1;
chno=0;
@ -4480,8 +4480,8 @@ static void getadc(void)
chan[chno].freq[5]=adcbuf[pos+7];
chan[chno].freq[6]=0;
pos+=8;
printf("CH:%i QRG:",chno);
printf(chan[chno].freq);printf("\n");
//printf("CH:%i QRG:",chno);
//printf(chan[chno].freq);printf("\n");
}
}else if(mod==0){
adcbufsamps = 0UL;