The cross correlation function sometimes detects a flat peek. Right now we are using the first value of this flat peek. in reality we should find the middle of this peek and use that.
The system prints "Flat peak detected, start of frame will be slightly wrong" when this occurs.
The cross correlation function sometimes detects a flat peek. Right now we are using the first value of this flat peek. in reality we should find the middle of this peek and use that.
The system prints "Flat peak detected, start of frame will be slightly wrong" when this occurs.
https://github.com/popwi/shannon/blob/ben/src/dsp/prota/popsparsecorrelate.c#L261