diff options
author | Tom Rondeau | 2012-01-06 14:44:51 -0500 |
---|---|---|
committer | Tom Rondeau | 2012-01-06 14:44:51 -0500 |
commit | 1b80996597fc1800c28e17f77b7cb09f9783d290 (patch) | |
tree | 33b1938eedc12b15040acafd2d0171b0123523dd /gr-digital | |
parent | d94c47d652d170760ffca728dc61e45d629fcc04 (diff) | |
parent | e337d7ce6b89403d68cfe75177811ec23571abe5 (diff) | |
download | gnuradio-1b80996597fc1800c28e17f77b7cb09f9783d290.tar.gz gnuradio-1b80996597fc1800c28e17f77b7cb09f9783d290.tar.bz2 gnuradio-1b80996597fc1800c28e17f77b7cb09f9783d290.zip |
Merge branch 'master' into next
Diffstat (limited to 'gr-digital')
-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; } |