diff --git a/src/pocsag/pocsag.cpp b/src/pocsag/pocsag.cpp index 5399820..dd68f70 100644 --- a/src/pocsag/pocsag.cpp +++ b/src/pocsag/pocsag.cpp @@ -331,7 +331,8 @@ void SendFsk(uint64_t Freq,bool Inverted,int SR,bool debug,uint32_t *Message,int float Deviation=4500; int FiFoSize=12000; if(debug) fprintf(stderr,"Fifo Size = %d, Size = %d, Baud rate = %d\n",FiFoSize,Size,SR); - fskburst fsktest(Freq,SR,Deviation,14,FiFoSize); + fskburst fsktest(Freq-Deviation,SR,Deviation*2,14,FiFoSize,1,0.0); + unsigned char *TabSymbol=(unsigned char *)malloc(Size*32); int Sym=0; @@ -352,7 +353,7 @@ void SendFsk(uint64_t Freq,bool Inverted,int SR,bool debug,uint32_t *Message,int } if(debug) fprintf(stderr,"Symbols=%d\n",Sym); fsktest.SetSymbols(TabSymbol,Sym); - sleep(1); + /*for(i=0;i