This currently only supports 1sps. To upconvert, it should be
convoluted with a RRC filter.
It required adding a second table of symbol in the modulation
type where the entries are sorted by the 'bits' value rather
than the symbol number.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Coverity seems confused because it doesn't see that this loop
is going to end exactly after 'n' iterations.
Fixes CID 1042965, CID 1042966
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
The _gmr1_pi4cxpsk_sync_find method is modified to:
- Return the pwr peak of the match
- Divide the peak by the number of corr point (to scale it appropriately)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>