diff options
Diffstat (limited to 'gr-digital/lib/digital_constellation.cc')
-rw-r--r-- | gr-digital/lib/digital_constellation.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gr-digital/lib/digital_constellation.cc b/gr-digital/lib/digital_constellation.cc index 0c100f38e..d9a53c493 100644 --- a/gr-digital/lib/digital_constellation.cc +++ b/gr-digital/lib/digital_constellation.cc @@ -357,10 +357,8 @@ digital_constellation_psk::get_sector (const gr_complex *sample) float phase = arg(*sample); float width = M_TWOPI / n_sectors; int sector = floor(phase/width + 0.5); - unsigned int u_sector; if (sector < 0) sector += n_sectors; - u_sector = sector; return sector; } |