mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-10 18:43:28 -05:00
WDSP: fixed Sonar bug issue
This commit is contained in:
parent
0fd169c008
commit
f6d97efe55
@ -437,7 +437,7 @@ void CFCOMP::SetCFCOMPPosition (TXA& txa, int pos)
|
|||||||
void CFCOMP::SetCFCOMPprofile (TXA& txa, int nfreqs, float* F, float* G, float *E)
|
void CFCOMP::SetCFCOMPprofile (TXA& txa, int nfreqs, float* F, float* G, float *E)
|
||||||
{
|
{
|
||||||
CFCOMP *a = txa.cfcomp.p;
|
CFCOMP *a = txa.cfcomp.p;
|
||||||
a->nfreqs = nfreqs;
|
a->nfreqs = nfreqs < 1 ? 1 : nfreqs;
|
||||||
delete[] (a->E);
|
delete[] (a->E);
|
||||||
delete[] (a->F);
|
delete[] (a->F);
|
||||||
delete[] (a->G);
|
delete[] (a->G);
|
||||||
|
Loading…
Reference in New Issue
Block a user