Skip to content

Commit

Permalink
Add missing '-' in BPSK
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenoot authored Jul 7, 2023
1 parent 519bd2e commit 00a61e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pi2_bpsk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ void map_bpsk(uint64_t code, gr_complex* out, unsigned int N)
// even index here (odd index mapping from the standard)
{
{SQRT2_2, SQRT2_2}, // bit 0
{-SQRT2_2, SQRT2_2} // bit 1
{-SQRT2_2, -SQRT2_2} // bit 1
},
// odd index here (even index mapping from the standard)
{
{-SQRT2_2, SQRT2_2}, // bit 0
{SQRT2_2, SQRT2_2} // bit 1
{SQRT2_2, -SQRT2_2} // bit 1
}
};

Expand Down

0 comments on commit 00a61e4

Please sign in to comment.